Skip to content

Instantly share code, notes, and snippets.

@jiceb
Created January 20, 2012 21:50
Show Gist options
  • Save jiceb/1649781 to your computer and use it in GitHub Desktop.
Save jiceb/1649781 to your computer and use it in GitHub Desktop.
rsync & ssh
rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/
rsync -avz -e 'ssh -p000' remoteuser@remotehost:/remote/dir /this/dir/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment