Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm not very good with this kind of stuff, I have been searching for weeks to try to find out how to do this. My problem is that i have some files on my EC2 instance that i want to transfer to my home computer... namely a folder called "dra-ne" /home/ec2-user/ssrh/dra-ne . I get the error message: "Permission Denied (Public key)" Whenever i try to transfer it to my computer. Any help would be appreciated... Also please if you could explain it in an easy to understand way for "noobs".

share|improve this question

migrated from stackoverflow.com Sep 27 '11 at 17:11

This question came from our site for professional and enthusiast programmers.

What operating system does your machine have and how are you trying to transfer them, exactly? –  David Sep 26 '11 at 21:09

2 Answers 2

I assume that you have a EC2 instance with Linux and you can access it with ssh (you have a authentication key). Than you should access your EC2 instance with SCP client, e.g. WinSCP.

share|improve this answer

I'm using winSCP without problem to access my instances.

Make sure to:

  • Use the right user name (ubuntu for my Ubuntu based instance)
  • Use the public name of the instance
  • Have the key in the right format (PUTTY's .ppk )
  • Have your IP authorized to access the instance
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.