Skip to content

Instantly share code, notes, and snippets.

@RamsesMartinez
Created May 5, 2017 06:29
Show Gist options
  • Save RamsesMartinez/473e63adf4c340a5159790d2e7982a6b to your computer and use it in GitHub Desktop.
Save RamsesMartinez/473e63adf4c340a5159790d2e7982a6b to your computer and use it in GitHub Desktop.
Upload files form local remote server

How to send a file from local to remote server

We have a simple way

ramses@debian:~ scp /path/to/local/file usuario@servidor:path/to/colocate/the/file

If we need the .pem file We can use this way:

ramses@debian:~ scp -i /path/to/key.pem path/to/local/file usuario@servidor:path/to/colocate/the/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment