Re: rsync with ssh

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 ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2005
Manuel López-Ibáñez
 
Posts: n/a
Default Re: rsync with ssh

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0