How do I copy a folder from remote to local using scp?
Asked 07 September, 2021
Viewed 1.3K times
  • 52
Votes

How do I copy a folder from remote to local host using scp?

I use ssh to log in my server.
Then, I would like to copy the remote folder foo to local /home/user/Desktop.

How do I achieve this?

12 Answer