Skip to content

Instantly share code, notes, and snippets.

@roalcantara
Last active December 16, 2015 20:09
Show Gist options
  • Save roalcantara/5490277 to your computer and use it in GitHub Desktop.
Save roalcantara/5490277 to your computer and use it in GitHub Desktop.
SCP + PEM File
$ scp -i /path/to/file.pem /path/to/copy/foo.gz username@<some.public.host>:/target/path/
$ scp -i /path/to/file.pem username@<host>:/path/to/copy/foo.gz /target/to/paste/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment