From owner-freebsd-isp@FreeBSD.ORG Sat Dec 20 14:41:56 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE4FC16A4CE for ; Sat, 20 Dec 2003 14:41:56 -0800 (PST) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82E943D53 for ; Sat, 20 Dec 2003 14:41:55 -0800 (PST) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [216.162.118.203]) by mail.day-light.net (Postfix) with SMTP id EE30F35269; Sat, 20 Dec 2003 16:18:37 -0600 (CST) From: "John Brooks" To: "'Francisco Javier Fabra Caro'" , "'Freebsd isp isp'" Date: Sat, 20 Dec 2003 16:18:39 -0600 Message-ID: <00ad01c3c747$38059040$c905010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1071956946.560.20.camel@localhost> X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Subject: RE: ssh and keys X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2003 22:41:56 -0000 something like this should work for the backup /usr/local/bin/rsync -av --rsh="ssh -l username -i /path/to/key" host.domain.tld:/path/to/files /local/path/to/storage there are more options, omitted for brevity, check "man rsync" I have a series of these in a file, executed nitely via cron -- John Brooks john@stlbsd.org -----Original Message----- From: owner-freebsd-isp@freebsd.org [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Francisco Javier Fabra Caro Sent: Saturday, December 20, 2003 3:49 PM To: Freebsd isp isp Subject: ssh and keys Hi guys!! I'm trying to backup a server over ssh, but I don't want to type the passphrase. I've been making the *interchange* of keys between the both machines, but this doesn't seem to work. I'm using a FreeBSD machine (updated sshd) and a RedHat 9 machine (updated sshd). Some ideas? Cheers, fabRiX _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"