This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Key-based auth fails - OpenSSH 3.7.1p2
- From: hayward at slothmud dot org
- To: cygwin at cygwin dot com
- Date: Thu, 9 Oct 2003 10:02:13 -0500 (CDT)
- Subject: Key-based auth fails - OpenSSH 3.7.1p2
I'm not sure if this should be directed at the cygwin or ssh lists.
Because I haven't had any troubles with ssh keys in the past on Unix, I
figured I'd start here.
No matter what I do with filesystem permissions, I can't get ssh key-based
authentication to work. I have tried both with StrictModes no and yes.
I've reconfigured my sshd.exe to run through services with the arguments:
"-D -ddd" -1 /tmp/sshd.1 -2 /tmp/sshd.2, so I can get the debugging
information necessary.
debug1: userauth-request for user hayward service ssh-connection method
publickey
debug1: attempt 1 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 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: 0x100f4158
debug1: temporarily_use_uid: 132690/513 (e=18/544)
debug1: trying public key file /home/hayward/.ssh/authorized_keys
debug1: restore_uid: (unprivileged)
debug1: temporarily_use_uid: 132690/513 (e=18/544)
debug1: trying public key file /home/hayward/.ssh/authorized_keys
debug1: restore_uid: (unprivileged)
debug3: mm_answer_keyallowed: key 0x100f4158 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 hayward from 10.10.10.10 port 57461 ssh2
Does anyone have any suggestions?
Thanks,
Brian Hayward
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/