On 28 Apr 2005, at 14:28, Conor Wynne wrote:
> RSYNC is my friend here. But I'm wondering how to use rsync in a
> script so
> that it can run via crontab without entering authentication manually.
Set up an rsync server on one of the boxes. rsyncd servers may be
configured quite restrictively (though it's also possible to have them
very open, as someone many of us know demonstrated to his embarassment
recently) and have the advantage that you don't have to use an ssh key
with no passphrase, or leave an ssh-agent running.
The downside is that rsync without ssh as a transport simply ships its
data in clear - if you think some three letter agency may be interested
in your activities, this may not be a good idea.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!