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

Re: ssh issue



On 11/11/2012 16:44, Rainer Dorsch wrote:
> Am Sunday 11 November 2012 schrieb staticsafe:
>> On 11/11/2012 14:39, Rainer Dorsch wrote:
>>> Hello,
>>>
>>> I have on a Debian squeeze server an issue, that I can only login as user
>>> rd, not as user gpxrecorder, although there seems to be no difference in
>>> the accounts:
>>>
>>> bokomoko:~# diff ~rd/.ssh/authorized_keys
>>> ~gpxrecorder/.ssh/authorized_hosts bokomoko:~# ls -l
>>> ~rd/.ssh/authorized_keys ~gpxrecorder/.ssh/authorized_hosts -rw-r--r-- 1
>>> gpxrecorder gpxrecorder 222 Nov 11 19:33
>>> /home/gpxrecorder/.ssh/authorized_hosts
>>> -rw-r--r-- 1 rd          rd          222 Dec 30  2006
>>> /home/rd/.ssh/authorized_keys
>>> bokomoko:~# ls -ld ~rd/.ssh ~gpxrecorder/.ssh
>>> drwx------ 2 gpxrecorder gpxrecorder 4096 Nov 11 19:33
>>> /home/gpxrecorder/.ssh drwx------ 2 rd          rd          4096 Dec 25 
>>> 2008 /home/rd/.ssh bokomoko:~# ls -ld ~rd ~gpxrecorder
>>> drwxr-x--x  5 gpxrecorder gpxrecorder 4096 Nov 11 19:33 /home/gpxrecorder
>>> drwxr-x--x 52 rd          rd          4096 Nov 10 15:32 /home/rd
>>> bokomoko:~#
>>>
>>> For gpxrecorder
>>>
>>> debug1: Server accepts key: pkalg ssh-rsa blen 149
>>>
>>> does not show up.
>>>
>>> Any hint why the two accounts might behave differently are very welcome.
>>>
>>> Many thanks,
>>> Rainer
>>
>> Can you try doing `ssh -vvv gpxrecorder@hostname` and pastie the output?
>> Also check for any errors on the squeeze server's /var/log/auth.log.
> 
> An ssh agent is running and has the keys
> 
> rd@blackbox:~/SW.nobackup/navit-clean-build/navit$ ssh-add -l
> 1024 c5:41:03:c6:ef:9e:d3:e4:39:dc:74:88:2b:78:bb:05 /home/rd/.ssh/id_rsa 
> (RSA)
> rd@blackbox:~/SW.nobackup/navit-clean-build/navit$ ssh -vvv 
> gpxrecorder@bokomoko.de
> *snip*
> Enter passphrase for key '/home/rd/.ssh/id_rsa': 
> 
> No entry in /var/log/auth.log until here.
> 
> Thanks,
> Rainer
> 

I'm not seeing anything wrong in the output you pasted, what happens
after you type in the passphrase for the id_rsa key?

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb


Reply to: