First of all, I created a simple bucket in S3.
After that, I created a server in AWS SFTP Transfer service https://aws.amazon.com/sftp/.
Then I created a new user inside AWS SFTP for test purposes and attached role that has AdministratorAccess
policy to it.
Finally, I tried to connect with sftp terminal command. It connect successfully. But when I am on the server I can't do any of sftp commands. For example:
sftp> dir
Couldn't read directory: Failure
Why I can't execute any SFTP command on the server?