From owner-freebsd-security Fri Oct 26 0:17:13 2001 Delivered-To: freebsd-security@freebsd.org Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id 6F3E637B408 for ; Fri, 26 Oct 2001 00:17:04 -0700 (PDT) Received: (qmail 20087 invoked from network); 26 Oct 2001 07:17:02 -0000 Received: from pec-124-149.tnt8.m2.uunet.de (HELO laptop) (149.225.124.149) by relay1.pair.com with SMTP; 26 Oct 2001 07:17:02 -0000 X-pair-Authenticated: 149.225.124.149 Message-ID: <006801c15dee$471d80c0$0901a8c0@system> From: "Tom Beer" To: Subject: Putty & SSH Date: Fri, 26 Oct 2001 09:16:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I try to connect from my M$ to a Freebsd Box using Putty via SSH. The keys were produced with the normal procedure under BSD. However, it is not possible to connect without entering a user name and password. This fails, cause I only want to connect via the ssh key and configured sshd in that way. The log on BSD reads as follows: Oct 25 14:18:14 strawberry sshd[158]: debug1: Forked child 15696. Oct 25 14:18:14 strawberry sshd[15696]: Connection from laptop.system port 1426 Oct 25 14:18:14 strawberry sshd[15696]: Connection from 192.168.1.9 port 1426 Oct 25 14:18:14 strawberry sshd[15696]: debug1: Client protocol version 2.0; client software version PuTTY Oct 25 14:18:14 strawberry sshd[15696]: debug1: no match: PuTTY Oct 25 14:18:14 strawberry sshd[15696]: Enabling compatibility mode for protocol 2.0 Oct 25 14:18:14 strawberry sshd[15696]: debug1: Local version string SSH-2.0-OpenSSH_2.3.0 green@FreeBSD.org 20010321 Oct 25 14:18:14 strawberry sshd[15696]: debug1: send KEXINIT Oct 25 14:18:14 strawberry sshd[15696]: debug1: done Oct 25 14:18:14 strawberry sshd[15696]: debug1: wait KEXINIT Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: diffie-hellman-group1-sha1 Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: ssh-dss Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: 3des-cbc,blowfish-cbc,3des-cbc Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: 3des-cbc,blowfish-cbc,3des-cbc Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: hmac-sha1,hmac-md5,none Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: hmac-sha1,hmac-md5,none Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: none,zlib,none Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: none,zlib,none Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: Oct 25 14:18:14 strawberry sshd[15696]: debug1: first kex follow: 0 Oct 25 14:18:14 strawberry sshd[15696]: debug1: reserved: 0 Oct 25 14:18:14 strawberry sshd[15696]: debug1: done Oct 25 14:18:14 strawberry sshd[15696]: debug1: kex: client->server 3des-cbc hmac-sha1 none Oct 25 14:18:14 strawberry sshd[15696]: debug1: kex: server->client 3des-cbc hmac-sha1 none Oct 25 14:18:14 strawberry sshd[15696]: debug1: Wait SSH2_MSG_KEXDH_INIT. Oct 25 14:18:14 strawberry sshd[15696]: debug1: bits set: 521/1024 Oct 25 14:18:14 strawberry sshd[15696]: debug1: bits set: 497/1024 Oct 25 14:18:14 strawberry sshd[15696]: debug1: sig size 20 20 Oct 25 14:18:14 strawberry sshd[15696]: debug1: send SSH2_MSG_NEWKEYS. Oct 25 14:18:14 strawberry sshd[15696]: debug1: done: send SSH2_MSG_NEWKEYS. Oct 25 14:18:14 strawberry sshd[15696]: debug1: Wait SSH2_MSG_NEWKEYS. Oct 25 14:18:15 strawberry sshd[15696]: debug1: GOT SSH2_MSG_NEWKEYS. Oct 25 14:18:15 strawberry sshd[15696]: debug1: done: KEX2. Oct 25 14:18:17 strawberry sshd[15696]: fatal: Read from socket failed: Connection reset by peer Oct 25 14:18:17 strawberry sshd[15696]: debug1: Calling cleanup 0x805e72c(0x0) Any pointers would be highly appreciated Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message