How to do server-side logging with rsync running through a SSH

This is a discussion on How to do server-side logging with rsync running through a SSH within the Rsync forums, part of the Networking and Network Related category; Hello! I am using rsync to synchronize files between a master server and multiple clients that share a SSH account. ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-14-2005
Igor Hjelmstrom Vinhas Ribeiro
 
Posts: n/a
Default How to do server-side logging with rsync running through a SSH

Hello!

I am using rsync to synchronize files between a master server and
multiple clients
that share a SSH account. I am struggling right now to make the server
log what
files were transferred, and when the synchronization happens.

My setup follows.

The clients log to an ssh account configured to run a script as the
login shell:

(in ~/.ssh/authorized keys)
command="/home/igor/rsync_shell"

The script checks if the command is valid (and also if it points inside
somewhere allowed)
and at its end issues:

rsync --config=/home/igor/rsyncd.conf --daemon --server --sender -vr .
../somefolder/somewhere

Unfortunately, from what I saw in an old message
(http://www.mail-archive.com/rsync@li.../msg04728.html)
in the archive, "rsync --daemon and ssh do not currently work together
at all".

The script works, but the config file seems to be ignored: there is a
log file definition inside it
and no logging takes place when I run the rsync command in the clients
(the process works
and the files are properly synchronized, though).

What I am missing? Is there any other way (besides a config file) to
make the server log
transfers to a file? If the answer is yes, please tell me...

Thanks for you patience,
Igor.
--
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
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

vB 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 09:38 PM.


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