[FreeNX-kNX] Initial sshd connection failing for user nx with nxclient, but not with ssh

chris at ccburton.com chris at ccburton.com
Sat Jul 3 17:27:41 UTC 2010


Freek de Kruijf <f.de.kruijf at gmail.com> wrote on 03/07/2010 16:11:26:
[SNIP]
> > > /var/lib/nxserver/home/.ssh/authorized_keys2, line 1
> > > Jul  3 13:29:54 eik113 sshd[4215]: Found matching DSA key:
> > > xx:yy:zz:aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:11:22 <- clobbered
> > > Jul  3 13:29:54 eik113 sshd[4215]: debug1: restore_uid: 0/0
> > > Jul  3 13:29:54 eik113 sshd[4215]: debug1: ssh_dss_verify: signature
>> > correct

Hmm, it's matched keys, gone back to root  . . .

> > 
> > > Jul  3 13:29:54 eik113 sshd[4215]: debug1: do_pam_account: called

called pam

> > > Jul  3 13:29:54 eik113 sshd[4215]: Failed publickey for nx from
>> > 192.168.1.32  port 44490 ssh2

and failed 

What happens here in DEBUG3 ??

> > > Jul  3 13:29:54 eik113 sshd[4215]: debug1: do_cleanup
> > > Jul  3 13:29:54 eik113 sshd[4215]: debug1: PAM: cleanup
[SNIP]
> "ssh -i <that-file-name> nx@<nxserver>". In the log you can see that the 

> publickey was OK, but pam refused the access. The problem is why. Doing 
the 
> same to another nxserver with its own private key, the access was OK. I 
can't 
> find the difference between the two servers, apart from the fact theone 
which 
> gives acces is openSUSE 11.1 and the one with the problem is openSUSE 
11.3-
> RC1.
Hmmm

you are connecting to the same sshd both times ie. the same port is set in
the nxclient, (or you don't have two sshds running) ??
and
you are connecting from the same workstation both times ?? aren't you

What do you get logged when you run ssh -i file nx at server
in the same debug mode ???

> 
> -- 
> vr.gr.
> 
> Freek de Kruijf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100703/6399333d/attachment.html>


More information about the FreeNX-kNX mailing list