Skip to content

Instantly share code, notes, and snippets.

@renatomattos2912
Created March 1, 2014 20:51
Show Gist options
  • Save renatomattos2912/9297063 to your computer and use it in GitHub Desktop.
Save renatomattos2912/9297063 to your computer and use it in GitHub Desktop.
SCP with port on terminal
spc -P 1234 user@[ip address or host name]:/var/www/mywebsite/dumps/* /var/www/myNewPathOnCurrentLocalMachine
sudo scp -P 2222 id_rsa id_rsa.pub vagrant@localhost:~/.ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment