[FreeNX-kNX] 0.3: Authentification failed but sshd logs says OK

Blindauer Emmanuel freenx at mooby.net
Thu Mar 10 11:05:09 UTC 2005


I had a working 0.2.7 freenx server,  working mostly (sometime  client 
timeout, but it was working sometime). I've upgraded to get lesser problems, 
now, no one can log in :)

I used knx and nxclient from NX to test. I use my own key, clients uses them.
The logs from freenx shows that:

-- NX SERVER START:
HELLO NXSERVER - Version 1.4.0-03 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: blindaue
NX> 102 Password:
Auth method: ssh
NX> 404 ERROR: wrong password or login
NX> 999 Bye

In the auth.log, I can see sshd log:

Mar 10 09:39:39 pipit sshd[10871]: Accepted publickey for blindaue 
from ::ffff:130.79.80.98 port 33753 ssh2
Mar 10 09:39:39 pipit sshd(pam_unix)[10873]: session opened for user blindaue 
by (uid=15507)
Mar 10 09:39:39 pipit sshd(pam_unix)[10873]: session closed for user blindaue

So the connexion is immediatly closed.
You can notice that I use a publickey instead of a password, but this isn't 
the issue, I've removed my key to use the password:

Mar 10 10:06:45 pipit sshd[11998]: Accepted password for blindaue 
from ::ffff:127.0.0.1 port 44216 ssh2
Mar 10 10:06:45 pipit sshd(pam_unix)[12000]: session opened for user blindaue 
by (uid=15507)
Mar 10 10:06:45 pipit sshd(pam_unix)[12000]: session closed for user blindaue



Anyone having an idea about that ?


Emmanuel




More information about the FreeNX-kNX mailing list