rsyncd.conf without --daemon?

Tim Conway conway at us.ibm.com
Thu Mar 3 18:05:47 GMT 2005


If you use -e ssh with :: or rsync:// syntax, it sshes over and starts and 
uses a private rsyncd in ssh tunnel.  If you use it with single-colon 
syntax, it starts an rsync listener on the other end that obeys commands 
and passes data.

73,

Tim Conway
Unix System Administration
Contractor - IBM Global Services - ODCS
desk:3039240938
conway at us.ibm.com




Philip Thompson <pthomp at gmail.com> 
Sent by: rsync-bounces+conway=us.ibm.com at lists.samba.org
03/03/2005 09:29 AM
Please respond to
Philip Thompson


To
rsync at lists.samba.org
cc

Subject
rsyncd.conf without --daemon?






Hello all,

I'm not a total newbie, but probably close enough.  I have tried to
find the answer to this question, but have been unsuccessful.

I'm testing out rsync over ssh using empty passphrases between 2
OpenBSD 3.5 boxes using rsync 2.5.7 (yes i know i should upgrade, but
can't because of BSD ports issues).

Everything seems to be working, but I'm very confused as to why it is
working.  I haven't started rsync in daemon mode on the box I'm
retrieving files from and there's nothing in /etc/inetd.conf either. 
I've placed an rsyncd.conf file in the directory of the rsync user and
it seems to be reading the file.  Is this normal?  The documentation
states that "The rsyncd.conf file is the runtime configuration file
for rsync wen run as an rsync server."  But as far as I can figure all
I've done is installed the rsync client on both boxes.

I guess my question is if rsyncd.conf is for daemon mode why/how is it
reading my rsyncd.conf file?  There is no rsync process running on my
target server so I'm guessing that it's because I'm using SSH as the
transport, but how does it know to use the rsyncd.conf file in that
particular directory or at all for that matter?

Happy it's working, but confused as to why.

Thanks in advance!!!
-- 
To unsubscribe or change options: 
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list