Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | public-key authorisation is not working (putty vs. openssh) |
|---|---|
| Date: | Wed, 9 Mar 2005 17:57:24 +0100 |
Hi, I have putty 0.57 on a WinXP machine and OPENSSH (v3.8) on a W2K workstation which should become a webserver (WAMP). I want to use this combination for remote administration. So, I don't want to use (more unsecure) password authentication, but public keys. It works perfect with password authentication (at the moment, I didn't disabled this method), but it's not working with public key. I tried to make the keys with puttygen and with ssh-keygen (including key format change with puttygen and ssh_keygen, including .\ssh\authorized_keys in my user directory with the public key...). I googled a lot, but up to know I couldn't find a hint. Here are the debug informations: _________________ C:\Programme\OpenSSH\usr\sbin>sshd -d debug1: sshd version OpenSSH_3.8.1p1 debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. debug1: Server will not fork when running in debugging mode. Connection from 192.168.115.1 port 3110 debug1: Client protocol version 2.0; client software version PuTTY-Release-0.57 debug1: no match: PuTTY-Release-0.57 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: client->server aes256-cbc hmac-sha1 zlib debug1: kex: server->client aes256-cbc hmac-sha1 zlib debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug1: Enabling compression at level 6. debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user thomas service ssh-connection method none debug1: attempt 0 failures 0 debug1: userauth_banner: sent Failed none for thomas from 192.168.115.1 port 3110 ssh2 debug1: userauth-request for user thomas service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 1000/513 (e=1000/513) debug1: trying public key file /home/thomas/.ssh/authorized_keys debug1: restore_uid: (unprivileged) debug1: temporarily_use_uid: 1000/513 (e=1000/513) debug1: trying public key file /home/thomas/.ssh/authorized_keys debug1: restore_uid: (unprivileged) Failed publickey for thomas from 192.168.115.1 port 3110 ssh2 debug1: userauth-request for user thomas service ssh-connection method keyboard- interactive debug1: attempt 2 failures 2 debug1: keyboard-interactive devs debug1: auth2_challenge: user=thomas devs= debug1: kbdint_alloc: devices '' Failed keyboard-interactive for thomas from 192.168.115.1 port 3110 ssh2 ------------------------------- I'm not a specialist in linux and programming, so the debug info is not helping me. Has anybody a hint for me? Thanks in advance for the help. TK
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: OPENSSH Question, Jesse C. Waters |
|---|---|
| Next by Date: | Re: OpenSSH 4.0 released, Rainer Peter Feller |
| Previous by Thread: | OpenSSH 4.0 released, Damien Miller |
| Next by Thread: | Incorrect md5sum in portable OpenSSH 4.0p1 announcement, Damien Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |