Some Linux servers were security hardened by changing the default SSH port from port 22 to a different port number. To use rsync with a different SSH port, add ‘ssh -p 12345’ in the rsync parameters.

Push

rsync -azvP -e 'ssh -p 12345' SOURCE [email protected]:DEST

Pull

rsync -azvP -e 'ssh -p 12345' [email protected]:SOURCE DEST