If ssh port is not 22, how does rsync specify this in command line?

cyclops cyclops64 at gmail.com
Sun Sep 5 06:44:34 GMT 2004

Dear all,

I have a question.

If my server's ssh port is other port than the default 22.  

When use rsync with ssh mode,  how to specify the port ssh use with
command line?

I read the man page, there is a --port option, 
but it seems this work for the rsyncd, not for ssh/rsh.

Any idea for this?

Thanks very much!

More information about the rsync mailing list