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

Issue

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 scp command to do this?

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

Solution

Call scp from client machine with recursive option:

scp -r [email protected]:src_directory dst_directory

Answered By – barti_ddu

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published