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 ec2-user@mydomain.com login but then I don't have sufficient privileges to actually do anything.
When I try to login via cyberduck with root@mydomain.com 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.
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.