Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Cygwin sshd public key authentication failure

From: Greg Paik <gpaik(at)smithandhawken.com>
Date: Mon Jan 20 2003 - 14:51:34 EST


Wondering if anyone can help me with this problem. I am trying to setup Cygwin DLL 1.3.18-1 release and OpenSSH 3.5p1 on a system running Windows NT4 SP4 to accept public key authentication from a Redhat 7.1 box using OpenSSH 3.4p1. I am able to setup the auth from the NT box to the Redhat system just fine, but keep failing the other way.

I have tried both RSA and DSA key authentication with no success. I have checked and double checked the permissions on the .ssh directory and the authorized_keys file below (Note - I have replaced the account name with "noname"), as well as tried them with 755 and 644 permissions:

drwx------+   2 noname    SYSTEM         4096 Jan 15 11:35 .ssh
-rw-------    1 noname    SYSTEM         1451 Jan 15 11:39 authorized_keys2

Below you will find the debugging output from the attempted key exchange:

RSA Key Debug Output



debug1: userauth-request for user noname service ssh-connection method publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 20
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x100f8700
debug1: temporarily_use_uid: 2217/544 (e=18/544)
debug1: trying public key file /home/noname/.ssh/authorized_keys
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 2217/544 (e=18/544)
debug1: trying public key file /home/noname/.ssh/authorized_keys2
debug1: restore_uid: (unprivileged)
debug3: mm_answer_keyallowed: key 0x100f8700 is disallowed
debug3: mm_request_send entering: type 21
debug3: mm_request_receive entering
debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
Failed publickey for noname from 10.0.666.20 port 39342 ssh2

DSA Key Debug Output



debug1: userauth-request for user noname service ssh-connection method publickey
debug1: attempt 2 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 20
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x100f8550
debug1: temporarily_use_uid: 2217/544 (e=18/544)
debug1: trying public key file /home/noname/.ssh/authorized_keys
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 2217/544 (e=18/544)
debug1: trying public key file /home/noname/.ssh/authorized_keys2
debug1: restore_uid: (unprivileged)
Do you need help?X
debug3: mm_answer_keyallowed: key 0x100f8550 is disallowed debug3: mm_request_send entering: type 21 debug3: mm_request_receive entering debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
Failed publickey for noname from 10.0.666.20 port 39342 ssh2

I have looked through every possible link on the net and the newsgroups but find no answer to my problem. I did find a reference on a webpage that stated there was some issue with using public key authentication from a RedHat box to an NT box, but no answer as to why or how to solve it.

Thanks in advance,

Greg Received on Thu Jan 23 11:16:33 2003

Do you need more help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library