Re: ssh issue
Rainer Dorsch <email@example.com> writes:
> Hi Claudius,
> Am Sunday 11 November 2012 schrieb Claudius Hubig:
>> Hello Rainer,
>> [ Removed useless crap from quote, cf.
>> <[🔎] firstname.lastname@example.org> for original ]
>> Rainer Dorsch <email@example.com> 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.