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.
rsync -azvP -e 'ssh -p 12345' SOURCE [email protected]:DEST
rsync -azvP -e 'ssh -p 12345' [email protected]:SOURCE DEST