Using rsync over a non 22 ssh port

Novisoft

Active Member
Jun 6, 2003
42
0
156
Algiers, Algeria.
cPanel Access Level
Root Administrator
Hello,

I am trying to use rsync to update the home directory of an account that just has been transferred. But the destination server has its ssh listening on a port diffrent that 22. So how can I update the following command to reflect the port number :

rsync -av --progress /home/user/* NEW-Server-ip:/home/user/

Thanks a lot :)