[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh issue



Rainer Dorsch <ml@bokomoko.de> writes:

> Hi Claudius,
>
> Am Sunday 11 November 2012 schrieb Claudius Hubig:
>> Hello Rainer,
>> 
>> [ Removed useless crap from quote, cf.
>> <[🔎] 201211112039.14270.ml@bokomoko.de> for original ]
>> 
>> Rainer Dorsch <ml@bokomoko.de> wrote:
>> > Am Sunday 11 November 2012 schrieb Selim T. Erdogan:
>> > > Rainer Dorsch, 11.11.2012:
>> > > > bokomoko:~# ls -l ~rd/.ssh/authorized_keys
>> > > > ~gpxrecorder/.ssh/authorized_hosts
>> > > > /home/gpxrecorder/.ssh/authorized_hosts
>> 
>>                                         ^^^^^
>> 
>> > > > /home/rd/.ssh/authorized_keys
>> 
>>                                ^^^^
>> 
>> > The miracle (for me) is that the
>> > configuration for both accounts seems to be absolutely identical....it
>> > certainly is not, but where is the difference hidden?
>> 
>> It is not. authorized_keys != authorized_hosts, as Selim pointed out.
>> Rename ~gpxrecorder/.ssh/authorized_hosts to
>> ~gpxrecorder/.ssh/authorized_keys and try again.
>
> Now I realize it, many many thanks for stressing that again. That issue drove 
> me almost crazy....
>

There's a ssh-copy-id script in the openssh-client package that you can
use to avoid mistakes like these.

-- 
regards,
kushal


Reply to: