Skip to content

Instantly share code, notes, and snippets.

@arodbits
Created July 19, 2018 19:26
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 arodbits/3acbd64b004656bc95eed20d42a841fe to your computer and use it in GitHub Desktop.
Save arodbits/3acbd64b004656bc95eed20d42a841fe to your computer and use it in GitHub Desktop.
Copy files over ssh using secure ssh (scp)
scp -r -i mykey.pem [from_directory_or_file] [host_name]:[destination_location]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment