Search code examples
linuxsshamazon-ec2sftpcyberduck

Amazon EC2 and Cyberduck PEM file


I've set up an EC2 instance and can get in via ssh through terminal (I'm on a Mac).

I want to be able to get in via cyberduck and sftp, and can with the [email protected] login but then I don't have sufficient privileges to actually do anything.

When I try to login via cyberduck with [email protected] it won't let me, says

Illegal sftp packet len: 1349281121.

I created a new user but don't know how to get a .pem file uploaded for them.


Solution

  • You can only login over SFTP as the ec2-user user, so you'll need to SSH into the machine first, change the permissions, then you can upload files.

    Alternatively, you can use scp on the command line.