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

Cam camilo at mesias.co.uk
Sun Sep 5 07:48:33 GMT 2004


cyclops

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

I use a command that includes this:

rsync ... -e 'ssh -p 1234' ...

(replace the dots with your own rsync options)

Hope that helps,

-Cam


More information about the rsync mailing list