Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.3k points)

From the client machine, call scp with recursive option:

scp -r [email protected]: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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories