[FreeNX-kNX] Starting a NX-session fails while publickey is OK but still rejected

chris at ccburton.com chris at ccburton.com
Sat Jul 3 14:34:20 UTC 2010


Freek de Kruijf <f.de.kruijf at gmail.com> wrote on 03/07/2010 14:34:03:

> When I start a NX-session I have enables DEBUG logging in sshd.
> 
> Below are the lines in the messages file:
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: trying public key file 
> /var/lib/nxserver/home/.ssh/authorized_keys2
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: fd 4 clearing O_NONBLOCK
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: matching key found: file 
> /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
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: do_pam_account: called
> Jul  3 13:29:54 eik113 sshd[4215]: Failed publickey for nx from 
192.168.1.32 
> port 44490 ssh2
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: do_cleanup
> Jul  3 13:29:54 eik113 sshd[4215]: debug1: PAM: cleanup
> 
> I can login from the same machine using publickey access OK.
> There is nothing in the file /var/log/nxserver.log; which has the proper 

> access rights. Owner is nx.
> 
> I make the connection using ssh -i <file with private key> 
> nx@<nxserver> which 
> gives me the an annoucement and the NX> prompt on a server that works. 
But I 
> get "Connection closed by 192.168.1.33" on the above system.
> 

Did you copy the private key into your nx client ??

<Configure><General Tab><Server Section><Key>


> -- 
> fr.gr.
> 
> Freek de Kruijf
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100703/5c5ef0fc/attachment.html>


More information about the FreeNX-kNX mailing list