Skip to content

Instantly share code, notes, and snippets.

@2-718
Created December 22, 2010 12:31
Show Gist options
  • Save 2-718/751451 to your computer and use it in GitHub Desktop.
Save 2-718/751451 to your computer and use it in GitHub Desktop.
Secure copy command syntax
scp -P {port} "{user}@{host}:/path/to/remote_file.ext" /path/to/local_file.ext
scp -P {port} {user}@{host}:/path/to/remote_file*.ext .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment