This is a discussion on Re: rsync with ssh within the Rsync forums, part of the Networking and Network Related category; I think you are confusing the 8 different ways of using rsync. You should read again and more carefully the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I think you are confusing the 8 different ways of using rsync. You
should read again and more carefully the section GENERAL in manual page of rsync, rsync(1), for details. Keep reading below: Adrian Mak wrote: > rsync with ssh, I executed > rsync --verbose --progress --recursive -rsh=/usr/bin/ssh --delete > 123.123.123:test/ /home/test2 > It seems you wish the following (quoted from rsync(1)): o for copying from a remote machine using a remote shell program as the transport, using rsync server on the remote machine. This is invoked when the source path contains a :: separator and the --rsh=COMMAND (aka "-e COMMAND") option is also provided. You are using a single ":", so the command is wrong and it does what expected: o for copying from the local machine to a remote machine using a remote shell program as the transport (such as ssh or rsh). This is invoked when the destination path contains a single : separa- tor. That is, you are not using the rsync server: a full remote path is required. If you wish to use the rsync server, try with: rsync --verbose --progress --recursive -rsh=/usr/bin/ssh --delete 123.123.123::test/ /home/test2 Cheers, Manuel. ______________________________________________ Renovamos el Correo Yahoo! 1GB de capacidad, nuevos servicios y más seguridad http://correo.yahoo.es -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html |