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; On Mon, 2005-10-24 at 07:58 +0800, Adrian Mak wrote: > I'm new on rsync, and I ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-25-2005
Matt McCutchen
 
Posts: n/a
Default Re: rsync with ssh

On Mon, 2005-10-24 at 07:58 +0800, Adrian Mak wrote:
> I'm new on rsync, and I have some question regarding file synchronization
> [...]
>
> [test]
> path = /home/test
> auth users = test
>
> on another linux, I executed
> rsync --verbose --progress --recursive --delete
> test@123.123.123::test/ /home/test2
> with no problem on file synchronization
>
> but it seems that rsync sending plain password for the user test and
> the contents too. Then I digged the documenation and for more secure,
> ssh is the choice. right ?!


I'm not familiar with the security of rsync daemons, but I do trust that
of ssh. I much prefer ssh because it is flexible and works together so
nicely with Linux accounts and file permissions, while the rsync daemon
system tries to reinvent the wheel in these two areas.

>
> rsync with ssh, I executed
> rsync --verbose --progress --recursive -rsh=/usr/bin/ssh --delete
> 123.123.123:test/ /home/test2
>
> but it said
> receiving file list ...
> link_stat /test : No such file or directory


When you use SSH, the path on the remote host is interpreted relative to
the home directory of the user as whom you are SSH-ing into the host.
It looks like the remote user has a home directory of / .

> And it seems the remote host does not need rsync to be
> run in daemon and rsync with ssh, I can put any path of remotehost
>
> Am I right ?


Yes! This is the awesome thing about rsync! It dovetails with ssh to
provide a powerful, efficient, Internet-transparent copy command.
--
Matt McCutchen, ``hashproduct''
hashproduct@verizon.net -- http://mysite.verizon.net/hashproduct/

--
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 04:04 AM.


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