-   Linux - Software (
-   -   rsync and ssh port (

ohcarol 12-22-2004 06:40 AM

rsync and ssh port

I want to backup some files from remote machine with rsync and ssh, but my ssh uses different port ie 2002. Could you please help me with the rsync command for specifying command. for eg.

$ rsync -avr -e ssh thitto@ /dstdir/

Is this correct?

anand_kt 12-22-2004 10:56 AM

to specify a port

rsync --port=n

pudhiyavan 12-22-2004 11:29 AM

can you try this

rsync -vrae 'ssh -p 8022' /home/bill/Gates/

All times are GMT -5. The time now is 11:06 AM.