From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 19:53:33 2005 Return-Path: X-Original-To: freebsd-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 D795316A44D for ; Wed, 31 Aug 2005 19:53:33 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B48B43D53 for ; Wed, 31 Aug 2005 19:53:33 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 31012 invoked by uid 0); 31 Aug 2005 19:53:31 -0000 Received: from user-69-73-60-132.knology.net (HELO Grumpy.DynDNS.org) (69.73.60.132) by smtp2.knology.net with SMTP; 31 Aug 2005 19:53:31 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 61D18614C; Wed, 31 Aug 2005 14:53:31 -0500 (CDT) Date: Wed, 31 Aug 2005 14:53:31 -0500 From: David Kelly To: "Robert G." Message-ID: <20050831195331.GB51357@Grumpy.DynDNS.org> References: <43160607.9060207@adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43160607.9060207@adelphia.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: SSH times out - "Server unexpectedly closed network connection" 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: Wed, 31 Aug 2005 19:53:34 -0000 On Wed, Aug 31, 2005 at 03:33:27PM -0400, Robert G. wrote: > SSH doesn't appear to be working on my remote server. I can connect > fine, and am prompted with "login as: " with Putty, but when I enter my > username it sits and hangs there for about a minute before a message > comes up that says "Server unexpectedly closed network connection". SSH > was working fine this morning around 11am. I just got back and now it's > hanging. The only changes to the /etc/ssh/sshd_config that I made were > to add my one user account. I rebooted and it worked fine this morning, > so I don't know what the problem is now as I haven't touched it. > > Any ideas? DNS. Sshd is not finding you in DNS before it gives up. Change "UseDNS" in /etc/ssh/sshd_config to "no" from "yes", restart sshd, and my guess is your problem will disappear. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.