Skip to content

Instantly share code, notes, and snippets.

@gabrielstuff
Created January 5, 2012 00:35
Show Gist options
  • Save gabrielstuff/1563061 to your computer and use it in GitHub Desktop.
Save gabrielstuff/1563061 to your computer and use it in GitHub Desktop.
rsync over different port SSH
rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment