[FreeNX-kNX] need to put client key in server authorized_keys?

sean darcy seandarcy2 at gmail.com
Mon Feb 18 21:12:32 UTC 2008


All on i386.
F8 client with nxclient-3.1.0-6 to f9 server with freenx-0.7.1-4.fc9.i386
nx-2.1.0-24.fc9.i386.

copied to client the server's key:
scp asterisk:/etc/nxserver/client.id_dsa.key .

imported key into nxclient, checked key shown in import window is server 
key.

NX> 203 NXSSH running with pid: 24210
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.2.6 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

I copied to client key to .ssh as id_dsa, as suggested by the Rick Stout 
howto.

No go:

cp client.id_dsa.key id_dsa
[transfer at notebook .ssh]$ chmod 600 id_dsa
[transfer at notebook .ssh]$ ssh nx at asterisk
nx at asterisk's password:

 From server /var/loFeb 18 20:40:55 asterisk sshd[13661]: debug2: 
input_userauth_request: try method publickey
Feb 18 20:40:55 asterisk sshd[13661]: debug3: mm_key_allowed entering
Feb 18 20:40:55 asterisk sshd[13661]: debug3: mm_request_send entering: 
type 21
Feb 18 20:40:55 asterisk sshd[13661]: debug3: mm_key_allowed: waiting 
for MONITOR_ANS_KEYALLOWED
Feb 18 20:40:55 asterisk sshd[13661]: debug3: mm_request_receive_expect 
entering: type 22
Feb 18 20:40:55 asterisk sshd[13661]: debug3: mm_request_receive entering
Feb 18 15:40:55 asterisk sshd[13660]: debug3: monitor_read: checking 
request 21
Feb 18 15:40:55 asterisk sshd[13660]: debug3: mm_answer_keyallowed entering
Feb 18 15:40:55 asterisk sshd[13660]: debug3: mm_answer_keyallowed: 
key_from_blob: 0xb8e6d7f8
Feb 18 15:40:55 asterisk sshd[13660]: debug1: temporarily_use_uid: 
494/487 (e=0/0)
Feb 18 15:40:55 asterisk sshd[13660]: debug1: trying public key file 
/var/lib/nxserver/home/.ssh/authorized_keys
Feb 18 15:40:55 asterisk sshd[13660]: debug1: restore_uid: 0/0
Feb 18 15:40:55 asterisk sshd[13660]: debug1: temporarily_use_uid: 
494/487 (e=0/0)
Feb 18 15:40:55 asterisk sshd[13660]: debug1: trying public key file 
/var/lib/nxserver/home/.ssh/authorized_keys2
Feb 18 15:40:55 asterisk sshd[13660]: debug1: restore_uid: 0/0
Feb 18 15:40:55 asterisk sshd[13660]: Failed publickey for nx from 
192.168.2.4 port 38982 ssh2
g/secure:


So does this mean I need to put some dsa key in 
/var/lib/nxserver/home/.ssh/authorized_keys ?


FWIW, I restarted sshd on the server.

sean




More information about the FreeNX-kNX mailing list