Mansoor Elahi Mansoor Elahi - 3 months ago 18
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


Call scp from client machine with recursive option:

scp -r user@remote:src_directory dst_directory