BackupPC-users

Re: [BackupPC-users] ssh don't work to backup localhost

2009-12-23 15:23:04
Subject: Re: [BackupPC-users] ssh don't work to backup localhost
From: Chris Robertson <crobertson AT gci DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 23 Dec 2009 11:20:38 -0900
Matthias Meyer wrote:
> Claude Gélinas wrote:
>
>   
>> I'm trying to setup the backup of the localhost with backuppc. I already
>> backup several other linux machine via ssh. I've setuped all them via
>> running the following command as backuppc user:
>>
>> ssh-keygen -t dsa
>> cd .ssh
>> ssh-copy-id -i id_dsa.pub root AT oligoextra.phyto.qc DOT ca
>>     
>
> I would believe you must:
> ssh-copy-id -i id_dsa.pub backuppc AT oligoextra.phyto.qc DOT ca
> because you need the publich key in /var/lib/backuppc/.ssh/authorized_keys
> and not in /root/.ssh/authorized_keys
>   

If he is trying to log in as root (and by the command "ssh -l root -vv  
oligoextra", he is) the public key would need to be in 
/root/.ssh/authorized_keys.  My concern is the ssh-copy-id was run 
against "root AT oligoextra.phyto.qc DOT ca", but the ssh attempt is being run 
against "oligoextra".  Why the two host names?

> cat id_dsa.pub >> /var/lib/backuppc/.ssh/authorized_keys
> should also do the job.
>
> br
> Matthias
>   

Chris



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/