Rsync autologin over ssh question

Brent Wiese brently at
Fri Apr 9 12:21:48 PDT 2004

Here is what I need to do:

I need to somehow automate an rsync from 1 box to several others.

I have set up SSH for RSAAuthentication, the method I'd prefer to use (over

I am able to slogin to the other boxes w/o supplying the passphrase.

But here is where I'm stuck. How do I make a script run w/o the passphrase?

The goal is to put this script in the users crontab.

I've googled for help on this, which is how I got to the point I'm at, but
now I need some further guidance.

I am notified by email when the boxes reboot, so logging back into them to
add the passphrase back into memory isn't a problem. I'd rather not use
Rhosts if I can avoid it, and I also want to avoid running rsync daemon.

If anyone has suggestions on a better and/or more secure method to do this,
happy to hear it.

Ultimately, I'd also like to be able to trigger this sync from a webpage, so
if anyone has done that (using sudo I'd imagine), feel free to suggest
things there too.


More information about the freebsd-questions mailing list