Skip to content

Instantly share code, notes, and snippets.

@raybesiga
Created August 13, 2018 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raybesiga/c2779052fc70604234bae214b6f49be9 to your computer and use it in GitHub Desktop.
Save raybesiga/c2779052fc70604234bae214b6f49be9 to your computer and use it in GitHub Desktop.
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