Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I connected to Amazon's Linux instance from ssh using the private key. I am trying to copy the 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

1 Answer

0 votes
by (44.4k points)

From the client machine, call scp with recursive option:

scp -r user@remote:source_directory destination_directory

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Jul 5, 2019 in AWS by yuvraj (19.1k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...