Date: Wed, 31 Aug 2005 14:53:31 -0500 From: David Kelly <dkelly@hiwaay.net> To: "Robert G." <rob5g@adelphia.net> Cc: freebsd-questions@freebsd.org Subject: Re: SSH times out - "Server unexpectedly closed network connection" Message-ID: <20050831195331.GB51357@Grumpy.DynDNS.org> In-Reply-To: <43160607.9060207@adelphia.net> References: <43160607.9060207@adelphia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050831195331.GB51357>