Jensen
Jensen

Reputation: 1723

upload files to ec2 from local using scp

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

Answers (1)

Kevin Bedell
Kevin Bedell

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

Related Questions