From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IWA8N-0000PA-Iu for garchives@archives.gentoo.org; Fri, 14 Sep 2007 12:18:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8EC8rck029226; Fri, 14 Sep 2007 12:08:53 GMT Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.149.33.74]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8EC8rNo029217 for ; Fri, 14 Sep 2007 12:08:53 GMT Received: from wstn.prhnet (prh.gotadsl.co.uk [81.6.251.123]) by smtp.nildram.co.uk (Postfix) with ESMTP id 0C4C92DF052 for ; Fri, 14 Sep 2007 13:08:51 +0100 (BST) From: Peter Humphrey Organization: at home To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Local network backup Date: Fri, 14 Sep 2007 12:42:57 +0100 User-Agent: KMail/1.9.7 References: <200709141022.26291.prh@gotadsl.co.uk> <200709141226.26818.hamish@travellingkiwi.com> In-Reply-To: <200709141226.26818.hamish@travellingkiwi.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709141242.57608.prh@gotadsl.co.uk> X-Archives-Salt: 3fed926b-4d6e-4448-ba32-471aae6822ec X-Archives-Hash: 946793d866fddc3f966360edb3d33f1e On Friday 14 Sep 2007, Hamish wrote: > WIth ssh you can use a public/private keypair to do the authentications. > The sequence is something like > > 1. Create a keypair on the CLIENT side of the connection > 2. Copy the PUBLIC part of the keypair from the client to the server and > append to the file ~/.ssh/authorised_keys > > That's it... Except that now, instead of being asked for a password, I'm asked for the pass-phrase that belongs to the ssh key. > Note that [...] that if you're doing this as root @ the server (Root at the > client is fine, in fact usually required :), then (A) you shouldn't be I agree. So far I haven't tried specifying a remote destination to rsnapshot, which seems to assume it will be running on the backup host. If that's feasible, of course I'd prefer to do so. I'll try it and see. > (B) you might need to enable root login on sshd (In sshd_config on the > server side). > > Hamish. Thanks for your thoughts. -- Rgds Peter. Linux Counter 5290, Aug 93 -- gentoo-amd64@gentoo.org mailing list