From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 16:14:12 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C72F16A420 for ; Thu, 23 Feb 2006 16:14:12 +0000 (GMT) (envelope-from lei.sun@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13BB443D46 for ; Thu, 23 Feb 2006 16:14:10 +0000 (GMT) (envelope-from lei.sun@gmail.com) Received: by nproxy.gmail.com with SMTP id c29so83564nfb for ; Thu, 23 Feb 2006 08:14:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rdd6pAcLTU+KCjiOn46Iku1imN7HRPQ8BtpnMWEq0bldxWFhLdgXa/ugabXAdPjYHu35ebGej2VxG1rZop9pcr4gC9wnmSMxWCXGfKQFYd+y65zzTsrBezOVSTGbGnveJ7EmDvGRGZBR8jj4u1tR3G8mvl7XP9ROJLVOLgm6ilE= Received: by 10.48.49.13 with SMTP id w13mr2388883nfw; Thu, 23 Feb 2006 08:14:09 -0800 (PST) Received: by 10.49.80.9 with HTTP; Thu, 23 Feb 2006 08:14:09 -0800 (PST) Message-ID: Date: Thu, 23 Feb 2006 08:14:09 -0800 From: "Lei Sun" To: "wc_fbsd@xxiii.com" In-Reply-To: <6.2.5.6.2.20060223104649.03202fc0@xxiii.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.5.6.2.20060223104649.03202fc0@xxiii.com> Cc: questions@freebsd.org Subject: Re: Problem connecting a freebsd server using ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 16:14:12 -0000 Actually, both of them are releng_6-p4, and I had no problem connecting in both directions before Freebsd_B is put into the data center. Any more help or suggestions would be gladly appreciated. Thanks Lei On 2/23/06, wc_fbsd@xxiii.com wrote: > At 03:50 AM 2/23/2006, Lei Sun wrote: > >1. ssh from Freebsd_A to Freebsd_B: I got "Read from socket failed: > >Connection reset by peer" error. > >2. ssh from windows xp (putty) to Freebsd_B: logs me in fine > >3. try to ssh from Freebsd_A to Freebsd_B again, got the same error > > I didn't did through your logs extensively. But when I've run into > similar problems recently, it's usually because one of the clients is > using an older ( < v2) of the protocol. At some point back in fBSD > 5.x support for the less-secure v1 ssh protocol became disabled by defaul= t. > > Try editing /etc/ssh/sshd_config and look for a "Protocol" > option. Try setting it to "Protocol 1,2" However, the level one > supposedly has some security holes, and you might not want to use it > over the public Internet. I just use it with my stupid windoze > client that only does level one, to connect over our own LAN, so I don't = care. > > -Wayne > >