On Tue, Mar 29, 2011 at 8:21 AM, Boniforti Flavio <[email protected]> wrote:
> Hello again...
>
>> > I have to say that on a similar setup, I'm succeeding with
>> the command
>> > I told you before.
>>
>> Then you are using the rsync daemon method, and you will have
>> to check on the server side to allow access without passwords
>> in /etc/rsyncd.conf, or make use of the environment variables
>> to pass the password to rsync on the client side.
>
> Server side is actually allowing me to passwordlessly connect to the ssh
> daemon.
> How is this to be related to rsyncd?

Again:

1) rsync -e ssh /local/path user@remoteserver:/remote/path
 This will use *SSH* authentication to setup the connection, and then
access the filesystem using user's rights.

2) rsync /local/path rsync://remoteserver/remote_module/path
 This will use RSYNCD authentication to rsync daemon modules in /etc/rsyncd.conf

You do the following:
a) setup a ssh tunnel (its own seperate authentication)
b) then make use of (2), ie. RSYNCD connection (over the already
established ssh tunnel) that will need RSYNCD authentication to the
rsyncd module.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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 via email to