is it possible to specify a different ssh port when using rsync?- SOLVED | Web Hosting | Domain Registration | Wordpress Hosting | SSL Certificates

is it possible to specify a different ssh port when using rsync?- SOLVED

Your command line should look like this:
rsync -avz --rsh 'ssh -p 19850' --progress /home root@<Host Name>:/backup

this works fine - I use it all the time without needing any new firewall rules - just note the SSH command itself is enclosed in quotes.
SHARE