Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using SCP from remote to local
## To copy a file from remote to local
`scp user@remote:/foo/bar/folder /home/bar/folder`
## To copy a folder from remote to local
`scp -r user@remote:/foo/bar/folder /home/bar/folder`
This uses a recursive copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.