From owner-freebsd-security Fri Oct 26 9:56:44 2001 Delivered-To: freebsd-security@freebsd.org Received: from gatehouse.quadtelecom.com (ool-18bd6caa.dyn.optonline.net [24.189.108.170]) by hub.freebsd.org (Postfix) with SMTP id 038E537B401 for ; Fri, 26 Oct 2001 09:56:39 -0700 (PDT) Received: (qmail 56204 invoked from network); 26 Oct 2001 16:49:46 -0000 Received: from 49.baltimore-03rh16rt.md.dial-access.att.net (HELO quadtelecom.com) (12.79.109.49) by 26.mumf.nyrk.nycenycp.dsl.att.net with SMTP; 26 Oct 2001 16:49:46 -0000 Message-ID: <3BD99429.FEC70F35@quadtelecom.com> Date: Fri, 26 Oct 2001 12:49:45 -0400 From: Harry Tabak Reply-To: htabak@quadtelecom.com X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Tom Beer Cc: security@FreeBSD.ORG Subject: Re: Putty & SSH References: <006801c15dee$471d80c0$0901a8c0@system> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 I have been able to successfully use Putty to access a FBSD box using SSH1. I used the RSA defaults to get an identity and identity.pub files and I copied the identity.pub to authorized_keys. Your problems seem to be sort of config issue. Is putty configured to provide the your logon name, and the identity file's location. I have not been sucessful using SSH2. - Harry Tom Beer wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message