Friday, June 1, 2012

Rsync with Non-Standard Port Number

Solution: use the -e option to pass in additional SSH options.

Example:
shell> rsync -avz -e "ssh -p PORT" username@xxx.xxx.xxx.xxx:srcdir destdir

Reference:

No comments:

Post a Comment