How to do server-side logging with rsync running through a SSH
I am using rsync to synchronize files between a master server and
that share a SSH account. I am struggling right now to make the server
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
(in ~/.ssh/authorized keys)
The script checks if the command is valid (and also if it points inside
and at its end issues:
rsync --config=/home/igor/rsyncd.conf --daemon --server --sender -vr .
Unfortunately, from what I saw in an old message
in the archive, "rsync --daemon and ssh do not currently work together
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,
To unsubscribe or change options: [url]https://lists.samba.org/mailman/listinfo/rsync[/url]
Before posting, read: [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]