While doing some work on the JQuery Plugins site today, I needed to use rsync over ssh. The ssh daemon on the remote server runs on a non-standard port, and all the port related options to rsync only change settings if you’re running the rsync-daemon.
After doing some research, you can use following commands:
rsync -av --progress /SRC/ -e "ssh -p $portNumber" ssh [email protected]:/DEST