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 r...@oligoextra.phyto.qc.ca >> > > I would believe you must: > ssh-copy-id -i id_dsa.pub backu...@oligoextra.phyto.qc.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 "r...@oligoextra.phyto.qc.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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/