Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2003 16:18:39 -0600
From:      "John Brooks" <john@day-light.com>
To:        "'Francisco Javier Fabra Caro'" <jfabra@unizar.es>, "'Freebsd isp isp'" <freebsd-isp@freebsd.org>
Subject:   RE: ssh and keys
Message-ID:  <00ad01c3c747$38059040$c905010a@daylight.net>
In-Reply-To: <1071956946.560.20.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ad01c3c747$38059040$c905010a>