BackupPC-users

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

2009-12-23 22:16:52
Subject: Re: [BackupPC-users] ssh don't work to backup localhost
From: Tony Schreiner <schreian AT bc DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 23 Dec 2009 22:14:41 -0500
On 12/23/2009 10:06 PM, Claude Gélinas wrote:
> Le mercredi 23 décembre 2009 21:33:50, Adam Goryachev a écrit :
>   
>> Les Mikesell wrote:
>>     
>>> No, it should be the same.  Look in the root/.ssh/authorized_keys file to
>>> see if the ssh-copy-id command put the right thing there.  And make sure
>>> the file and directories above have the right owner/permissions.   I've
>>> seen some versions that want to use a file named authorized_keys2 instead
>>> but I'm not sure exactly why.
>>>       
>> You could just copy an authorized_keys file from a working machine to
>> this one as well...
>>
>> Also, use ssh -v (or -vv) to see if it whether it tries to use the key
>> etc...
>>
>> Also, check your server config files and log files and compare to other
>> working machines...
>>
>> Regards,
>> Adam
>>
>>     
> I've copyed the authorized_keys from /root/.ssh from a working machine to the 
> oligoextra machine in /boot/.ssh. permission are ok but still no luck.
>
> Need a password from backuppc user.
>
> I even try to setup another machine to login into oligoextra with the same 
> issue. need password.
>
> on a working machine the -vv option give
>
>  debug1: Server accepts key: pkalg ssh-rsa blen 277
>
> on oilgoextra I don't have that line. look like key is not received or 
> accepted by oligoextra ???
>
>   
I forget if anybody has mentioned wrong file permissions as a
possibility. The ~/.ssh directory may not be group or world
writable.This will be logged in /var/log/messages if set incorrectly.

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