From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 12:21:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49BEC16A4CE for ; Fri, 9 Apr 2004 12:21:48 -0700 (PDT) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id B30F543D55 for ; Fri, 9 Apr 2004 12:21:47 -0700 (PDT) (envelope-from brently@bjwcs.com) Received: from SAMBA ([68.231.19.60]) by fed1rmmtao07.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040409192147.FKIQ16183.fed1rmmtao07.cox.net@SAMBA> for ; Fri, 9 Apr 2004 15:21:47 -0400 From: "Brent Wiese" To: Date: Fri, 9 Apr 2004 12:21:33 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcQbSXfRasZZ1VxNSaKxmX3o3OjkNQDHB3nA In-Reply-To: <20040405200457.GC10534@happy-idiot-talk.infracaninophile.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040409192147.FKIQ16183.fed1rmmtao07.cox.net@SAMBA> Subject: Rsync autologin over ssh question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 19:21:48 -0000 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