ssh and rsyncd.conf

Jacque Mergens jmergens at emageon.com
Tue Feb 24 18:52:05 GMT 2004


I am able to perform the following line

 

rsync -rsh="/usr/bin/ssh" filename host:/dir/filename

 

But I am not able to perform this

 

rsync -rsh="/usr/bin/ssh" filename host:module_name

 

where rsyncd.conf contains the following

 

 

pid file = /var/run/rsyncd.pid

log file = /var/log/rsyncd.log

read only = false

 

[module_name]

   path = /home/test

   comment = New Test

 

 

The client thinks that everything is going ok but the file never shows up in
the target directory.

 

I think that this is because it is using ssh and never reads the rsyncd.conf
file.  I've shut down the rsync -daemon process and 

proved this.  

 

Now the question.

 

How do I get rsync to transfer the files using the rules called out in the
rsyncd.conf file while using ssh?

 

 

 

Jacque Mergens

Sr Systems Engineer

Emageon 

1200 Corporate Dr

Birmingham, AL 35242

205.980.7543 (o)

205.410.8326 (c)

 



More information about the rsync mailing list