BackupPC-users

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

2009-12-23 11:43:43
Subject: Re: [BackupPC-users] ssh don't work to backup localhost
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 23 Dec 2009 17:40:40 +0100
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

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

br
Matthias
-- 
Don't Panic


------------------------------------------------------------------------------
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/