From owner-freebsd-stable@FreeBSD.ORG Sat Jan 15 21:51:53 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EE0116A4CE for ; Sat, 15 Jan 2005 21:51:53 +0000 (GMT) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF66E43D45 for ; Sat, 15 Jan 2005 21:51:52 +0000 (GMT) (envelope-from guitar@jazzcafe.no-ip.org) Received: from [221.169.112.158] (port=57167 helo=[127.0.0.1]) by seed.net.tw with esmtp (Seednet 4.23:1) id 1Cpvpn-000CsT-3h; Sun, 16 Jan 2005 05:51:51 +0800 Date: Sun, 16 Jan 2005 05:51:57 +0800 From: CryBaby To: Peter Jeremy In-Reply-To: <20050115210928.GF53545@cirb503493.alcatel.com.au> References: <20050116035709.AFCE.GUITAR@jazzcafe.no-ip.org> <20050115210928.GF53545@cirb503493.alcatel.com.au> Message-Id: <20050116054350.7FF1.GUITAR@jazzcafe.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.12.01 [en] cc: freebsd-stable@freebsd.org Subject: Re: SSH Protocol mismatch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2005 21:51:53 -0000 Peter Jeremy wrote: > What has changed (both on FreeBSD and WinXP) since it last worked? I had try to ssh on Windows(Putty), Linux(sshd) and ssh on the Lan, Wan, and I got the same result. So, I think problem is due to my sshd host. > Have you tried running sshd in a debug mode and looking at what it reports? > eg "sshd -d -p 8022" and then ssh to port 8022. Use up to 3 d's for more > detail. I'm not sure if PuTTY has anything equivalent to 'ssh -v' but if > so, have you tried looking at what it reports? my try is following: 1. [root]/# sshd -d -p 8022 debug1: sshd version OpenSSH_3.5p1 FreeBSD-20030924 debug1: private host key: #0 type 0 RSA1 debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: Bind to port 8022 on ::. Server listening on :: port 8022. debug1: Bind to port 8022 on 0.0.0.0. Server listening on 0.0.0.0 port 8022. Generating 768 bit RSA key. RSA key generation complete. 2. Connect by Putty in WinXP on the Lan 3. <> debug1: Server will not fork when running in debugging mode. debug1: res_init() Connection from 192.168.0.222 port 4411 debug1: Client protocol version 1.5; client software version PuTTY-Release-0.53b debug1: no match: PuTTY-Release-0.53b debug1: Local version string SSH-1.99-OpenSSH_3.5p1 FreeBSD-20030924 debug1: permanently_set_uid: 22/22 debug1: Sent 768 bit server key and 1024 bit host key. debug1: Encryption type: blowfish debug1: Received session key; encryption turned on. debug1: Installing crc compensation attack detector. debug1: PAM: initializing for "der" debug1: Attempting authentication for der. PAM: initialisation failed debug1: Calling cleanup 0x804da74(0x0) Thanks for answer. : ) --- CryBaby