How to Run Rsync Over a Non-standard Port

Here’s a quick note on how to run rsync over a non-standard port.

rsync -avz /some/local/path/ -e "ssh -p <theport>" remoteuser@remotehost:/some/remote/path/

Leave a Reply

Your email address will not be published. Required fields are marked *