rsync with ssh

Manuel López-Ibáñez manuellopezibanez at
Mon Oct 24 12:17:52 GMT 2005

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 

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-

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



Renovamos el Correo Yahoo! 
1GB de capacidad, nuevos servicios y más seguridad

More information about the rsync mailing list