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

ohcarol 12-22-2004 05: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 09:56 AM

to specify a port

rsync --port=n

pudhiyavan 12-22-2004 10:29 AM

can you try this

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

All times are GMT -5. The time now is 01:55 AM.