Created
March 2, 2017 18:40
-
-
Save hisplan/697c4b455287290b6b6ace16c309362c to your computer and use it in GitHub Desktop.
Rsync with a non-standard ssh port
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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