Skip to content

Instantly share code, notes, and snippets.

@markotom
Last active August 29, 2015 14:27
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 markotom/9fdd9b74d6bf096b189e to your computer and use it in GitHub Desktop.
Save markotom/9fdd9b74d6bf096b189e to your computer and use it in GitHub Desktop.
Holy Bash

Holy Bash

Copy SSH public key to remote server

$ ssh-copy-id user@148.207.17.46
$ ssh user@148.207.17.46

Look mum, no hands!

Transfer files through SSH

$ scp ./css/style.min.css user@148.207.17.46:/var/www/css
$ scp -r . user@148.207.17.46:/var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment