I need to copy many files from a remote server (ec2-amazon) to home machine, manually with the WinSCP would take hours. I found this thread using scp to copy a file to amazon EC2 instance but I need to know how to do it the other way around (from the remote server), my basic try just to request your help:
scp ubuntu@ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:/myfiles/ -r /mypc/folder/
Of course I get:
1) Permission denied (publickey).
2) How should I give the destination in my home machine (IP address?).
I'd appreciate your help!
Zia