[FreeNX-kNX] Authetication failure and nothing helped so far

Fabian Franz FabianFranz at gmx.de
Mon Apr 23 15:07:38 UTC 2007


> Hi again,
> OK took me a while to figure it out but here it is the sshd log (its 
> quite a bit ... is this normal?)

yes, of course. Its DEBUG. But debug 1 seems to be enough next time.

>, while trying to log on with ssh 
> nx at host and LogLevel DEBUG3 as suggested by Rick Stout:
 
> Apr 20 22:19:43 localhost sshd[5466]: debug1: temporarily_use_uid: 
> 501/501 (e=0/0)
> Apr 20 22:19:43 localhost sshd[5466]: debug1: trying public key file 
> /usr/NX/home/nx/home/lobs/.ssh/authorized_keys2
> Apr 20 22:19:43 localhost sshd[5466]: debug1: restore_uid: 0/0
> Apr 20 22:19:43 localhost sshd[5466]: Failed publickey for nx from 
> 154.20.41.180 port 63242 ssh2

I guess your sshd_config reads something like:

AuthorizedKeysFile home/lobs/.ssh/authorized_keys2

But that is plain wrong and only works for one user.

Try outcommenting this line completely in sshd_config.

_Or_ if that fails use a proper value like:

AuthorizedKeysFile .ssh/authorized_keys2

cu

Fabian



More information about the FreeNX-kNX mailing list