sftp with aws keys Jul 24, 2019 • ulysses How to use SFTP with AWS Keys. sftp -i "yourkey" ec2-user@your-server To copy files to server. File will copied to user’s home directory. sftp> put file.txt .