Skip to content

Instantly share code, notes, and snippets.

@n8io
Created November 13, 2015 18:00
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 n8io/495917c2c2c4ae551b00 to your computer and use it in GitHub Desktop.
Save n8io/495917c2c2c4ae551b00 to your computer and use it in GitHub Desktop.
ssh-copy-id -i ~/.ssh/[id_ras.pub] "[-p port] [user@][server]" # Setup ssh auth on remote server
scp [-P port] [local file path] [user@][server]:[server destination dir] # move file remotely via ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment