Date: Fri, 9 Apr 2004 12:21:33 -0700 From: "Brent Wiese" <brently@bjwcs.com> To: <freebsd-questions@freebsd.org> Subject: Rsync autologin over ssh question Message-ID: <20040409192147.FKIQ16183.fed1rmmtao07.cox.net@SAMBA> In-Reply-To: <20040405200457.GC10534@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 RHostsRSA). 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. Brent
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409192147.FKIQ16183.fed1rmmtao07.cox.net>