i have an instance of ec2.it have some files.i tried to download my file from ec2 instance to my local Ubuntu 13.10.i run this command
scp -i /home/ritesh/.ssh/
I find a simple solution for importing a file from EC2 to local machie
cd ~/.ssh scp -i mykey.pem ec2-user@ipadress.zone.compute.amazonaws.com:/home/path/file ~/Desktop/target
Downloading file to your local machine .....
Hope it will be helpfull to someone