After successfull passwordless ssh login, unable to do rsync

Hendrik Visage hvjunk at gmail.com
Tue Mar 29 02:38:05 MDT 2011


On Tue, Mar 29, 2011 at 8:21 AM, Boniforti Flavio <flavio at piramide.ch> 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 at 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.


More information about the rsync mailing list