1

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?

Jensen
  • 1,653
  • 4
  • 26
  • 42

1 Answers1

1

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

Community
  • 1
  • 1
Kevin Bedell
  • 13,254
  • 10
  • 78
  • 114