PKA - Unable to use key file

3 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 15 hours ago
Joined: 01.05.2008 - 21:33
PKA - Unable to use key file

Hello,
I have a stand alone Win2k machine CopSSH 1.3.5. Everything works GREAT, except the PKA authentication. I activated the user, copied the key file to my local machine, and tried to connect using PuTTY. When I do I get an error message stating that CopSSH is unable to use the key file. Has anyone else experienced these problems? Here is the log text from PuTTY:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.09.29 16:14:51 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH packets mode) to file: C:\Documents and Settings\Dan Franks.TICKETMASTER\Desktop\putty.log
Event Log: Looking up host "29.6.1.24"
Event Log: Connecting to 29.6.1.24 port 22
Event Log: Server version: SSH-2.0-OpenSSH_4.2
Event Log: We claim version: SSH-2.0-PuTTY-Release-0.57
Event Log: Using SSH protocol version 2
Outgoing packet type 20 / 0x14 (SSH2_MSG_KEXINIT)
Event Log: Doing Diffie-Hellman group exchange
Outgoing packet type 30 / 0x1e (SSH2_MSG_KEX_DH_GEX_REQUEST)
Incoming packet type 31 / 0x1f (SSH2_MSG_KEX_DH_GEX_GROUP)
Event Log: Doing Diffie-Hellman key exchange
Outgoing packet type 32 / 0x20 (SSH2_MSG_KEX_DH_GEX_INIT)
Incoming packet type 33 / 0x21 (SSH2_MSG_KEX_DH_GEX_REPLY)
Event Log: Host key fingerprint is:
Event Log: ssh-rsa 2048 af:84:91:81:85:2a:02:a2:b9:f3:40:1b:62:25:5e:b8
Outgoing packet type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Incoming packet type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 client->server encryption
Event Log: Initialised AES-256 server->client encryption
Event Log: Initialised HMAC-SHA1 client->server MAC algorithm
Event Log: Initialised HMAC-SHA1 server->client MAC algorithm
Outgoing packet type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)
Incoming packet type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Event Log: Reading private key file "C:\Documents and Settings\Dan Franks.TICKETMASTER\Desktop\TestSSH.ppk"
Event Log: Unable to use this key file (OpenSSH SSH2 private key)
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
Event Log: Keyboard-interactive authentication refused
Outgoing packet type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
Event Log: Sent password
Incoming packet type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
Incoming packet type 1 / 0x01 (SSH2_MSG_DISCONNECT)
Event Log: Received disconnect message (SSH_DISCONNECT_PROTOCOL_ERROR)
Event Log: Disconnection message text: Too many authentication failures for testssh
Event Log: Server sent disconnect message
type 2 (SSH_DISCONNECT_PROTOCOL_ERROR):
"Too many authentication failures for testssh"

I removed the multiple login attempts for brevity's sake. Thanks in advance.

-Dan

itefix
Offline
Last seen: 2 weeks 15 hours ago
Joined: 01.05.2008 - 21:33
Re: PKA - Unable to use key file

Private ssh key produced by copSSH must be converted to a format understandable by Putty. Use puttygen and import your ssh key.

itefix
Offline
Last seen: 2 weeks 15 hours ago
Joined: 01.05.2008 - 21:33
Re: PKA - Unable to use key file

Doh! I am an idiot. Thank you so much.
-Dan

Release announcements