cyclops
2004-Sep-05 06:45 UTC
If ssh port is not 22, how does rsync specify this in command line?
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!
Cam
2004-Sep-05 07:49 UTC
If ssh port is not 22, how does rsync specify this in command line?
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