Mansoor Elahi Mansoor Elahi - 1 year ago 106
Linux Question

How to copy entire folder from Amazon EC2 Linux instance to local Linux machine?

I connected to Amazon's linux instance from ssh using private key. I am trying to copy entire folder from that instance to my local linux machine .

Can anyone tell me the correct

command to do this?

Or do I need something more than
Both machines are Ubuntu 10.04 LTS

Answer Source

Call scp from client machine with recursive option:

scp -r user@remote:src_directory dst_directory
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download