Reputation: 1723
I am using scp to upload files from local to ec2, and I got the permission error.
Permission denied (publickey).
lost connection
How do i fix this?
Upvotes: 1
Views: 2284
Reputation: 13404
You need to get your ssh keys uploaded.
Here's a link to an article showing you how to set this up:
http://alestic.com/2010/10/ec2-ssh-keys
Also, see this:
AWS ssh access 'Permission denied (publickey)' issue
Upvotes: 1