[FreeNX-kNX] Problems with Fedora 10 & qtnx

Александър Шопов ash at contact.bg
Tue Dec 16 19:28:54 UTC 2008


stracing qtnx gave me nothing. However I tried what is suggested here:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ/Server#Identity%20file%20id.key%20not%20accessible



I am attaching the log below, however the following lines are
interesting:

Failed publickey for nx from 127.0.0.1 port 45031 ssh2
debug3: mm_answer_keyallowed: key 0xb9e62130 is not allowed

I am not sure why this fails. I can still log with:
ssh -i /etc/nxserver/client.id_dsa.key nx at localhost


Here is the log from ssh.
Kind regards:
al_shopov


debug3: fd 5 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 555
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from 127.0.0.1 port 45031
debug1: Client protocol version 2.0; client software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug2: fd 3 setting O_NONBLOCK
debug3: privsep user:group 74:74
debug1: permanently_set_uid: 74/74
debug2: Network child is on pid 26916
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64 at openssh.com,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64 at openssh.com,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit: none,zlib at openssh.com
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc at lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64 at openssh.com,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64 at openssh.com,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib at openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug3: mm_request_send entering: type 0
debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI
debug3: mm_request_receive_expect entering: type 1
debug3: mm_request_receive entering
debug3: monitor_read: checking request 0
debug3: mm_answer_moduli: got parameters: 1024 1024 8192
debug3: mm_request_send entering: type 1
debug2: monitor_read: 0 used once, disabling now
debug3: mm_request_receive entering
debug3: mm_choose_dh: remaining 0
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 510/1024
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug2: bits set: 502/1024
debug3: mm_key_sign entering
debug3: mm_request_send entering: type 5
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN
debug3: mm_request_receive_expect entering: type 6
debug3: mm_request_receive entering
debug3: monitor_read: checking request 5
debug3: mm_answer_sign
debug3: mm_answer_sign: signature 0xb9e54eb0(271)
debug3: mm_request_send entering: type 6
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug2: monitor_read: 5 used once, disabling now
debug3: mm_request_receive entering
debug1: userauth-request for user nx service ssh-connection method none
debug1: attempt 0 failures 0
debug3: mm_getpwnamallow entering
debug3: mm_request_send entering: type 7
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 8
debug3: mm_request_receive entering
debug3: monitor_read: checking request 7
debug3: mm_answer_pwnamallow
debug3: Trying to reverse map address 127.0.0.1.
debug2: parse_server_config: config reprocess config len 555
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 8
debug2: monitor_read: 7 used once, disabling now
debug3: mm_request_receive entering
debug2: input_userauth_request: setting up authctxt for nx
debug3: mm_start_pam entering
debug3: mm_request_send entering: type 46
debug3: mm_inform_authserv entering
debug3: mm_request_send entering: type 3
debug3: mm_inform_authrole entering
debug3: mm_request_send entering: type 4
debug2: input_userauth_request: try method none
debug1: userauth-request for user nx service ssh-connection method
publickey
debug1: attempt 1 failures 0
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 21
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 22
debug3: mm_request_receive entering
debug3: monitor_read: checking request 46
debug1: PAM: initializing for "nx"
debug1: PAM: setting PAM_RHOST to "localhost.localdomain"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: monitor_read: 46 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_authrole: role=
debug2: monitor_read: 4 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 21
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0xb9e5c1c0
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/etc/nxserver'
debug3: secure_filename: checking '/etc'
debug3: secure_filename: checking '/'
debug1: restore_uid: 0/0
debug2: key not found
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys2
debug1: restore_uid: 0/0
Failed publickey for nx from 127.0.0.1 port 45031 ssh2
debug3: mm_answer_keyallowed: key 0xb9e5c1c0 is not allowed
debug3: mm_request_send entering: type 22
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
debug1: userauth-request for user nx service ssh-connection method
publickey
debug1: attempt 2 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 21
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 22
debug3: mm_request_receive entering
debug3: mm_request_receive entering
debug3: monitor_read: checking request 21
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0xb9e60d70
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/etc/nxserver'
debug3: secure_filename: checking '/etc'
debug3: secure_filename: checking '/'
debug3: key_read: type mismatch
debug2: user_key_allowed: check options: 'ssh-dss
AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8= root at dalgonosko
'
debug2: key_type_from_name: unknown key type
'AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8='
debug3: key_read: missing keytype
debug2: user_key_allowed: advance:
'AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8= root at dalgonosko
'
debug1: restore_uid: 0/0
debug2: key not found
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys2
debug1: restore_uid: 0/0
Failed publickey for nx from 127.0.0.1 port 45031 ssh2
debug3: mm_answer_keyallowed: key 0xb9e60d70 is not allowed
debug3: mm_request_send entering: type 22
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
debug1: userauth-request for user nx service ssh-connection method
publickey
debug1: attempt 3 failures 2
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 21
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 22
debug3: mm_request_receive entering
debug3: mm_request_receive entering
debug3: monitor_read: checking request 21
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0xb9e60d70
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/etc/nxserver'
debug3: secure_filename: checking '/etc'
debug3: secure_filename: checking '/'
debug3: key_read: type mismatch
debug2: user_key_allowed: check options: 'ssh-dss
AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8= root at dalgonosko
'
debug2: key_type_from_name: unknown key type
'AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8='
debug3: key_read: missing keytype
debug2: user_key_allowed: advance:
'AAAAB3NzaC1kc3MAAACBAKhcoF9oP9WFc6QuMC1RIOFKKeMLjspaZQByvW1SYWl6JmGXJ1iBb4GqN8M3DBn1TN1W6ngTqQ//Hdx81NWrQi92eeLcd3Ecgk0c4T7nlNDVp9f5ULZZE+PzXQoTJPo4D34ambMdcGhgJ/vEAKCjwEXOcKE7gBYAtScnclLCrMGnAAAAFQDEheVfg1Wbw1fCv7cE54DtnFtnZwAAAIB5H92IFBELc7y1kSawF/o/GkelxKQcflswy72JreIkWaM3MXuZYEw0eASo10IMhfM9qkurMu1iC9gp+R2flNFnCZVyiZP+W0DneXjvsCDjaDpJTuhNodoCQkO2wfKzLYfKRsvVvRConqv2ihGrqSiXY8tkNYBBDzJVYE5q+/bDkQAAAIEAm9aXn6FphrQC12wDoEOT+MZ5Q6BO5v7kxu3ErVHNmUUFff4cblf87/HgNXcVaspvuQd0b4SmhrFyv7ax/iAUdwzasjauXe6jqjUSzGB/hK9AqSVrdeFGd0TNYYswc37HejYb0WgI4jSgkCXpEVhWFWK5uYXfQ7cmJNEyT9p5Xi8= root at dalgonosko
'
debug1: restore_uid: 0/0
debug2: key not found
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys2
debug1: restore_uid: 0/0
Failed publickey for nx from 127.0.0.1 port 45031 ssh2
debug3: mm_answer_keyallowed: key 0xb9e60d70 is not allowed
debug3: mm_request_send entering: type 22
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
debug1: userauth-request for user nx service ssh-connection method
publickey
debug1: attempt 4 failures 3
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 21
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 22
debug3: mm_request_receive entering
debug3: mm_request_receive entering
debug3: monitor_read: checking request 21
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0xb9e62130
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug3: secure_filename: checking '/etc/nxserver'
debug3: secure_filename: checking '/etc'
debug3: secure_filename: checking '/'
debug1: restore_uid: 0/0
debug2: key not found
debug1: temporarily_use_uid: 494/491 (e=0/0)
debug1: trying public key
file /var/lib/nxserver/home/.ssh/authorized_keys2
debug1: restore_uid: 0/0
Failed publickey for nx from 127.0.0.1 port 45031 ssh2
debug3: mm_answer_keyallowed: key 0xb9e62130 is not allowed
debug3: mm_request_send entering: type 22
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
debug3: mm_request_receive entering
Connection closed by 127.0.0.1
debug1: do_cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering





More information about the FreeNX-kNX mailing list