Date: Wed, 31 Aug 2005 14:53:22 -0500 From: Will Maier <willmaier@ml1.net> To: freebsd-questions@freebsd.org Subject: Re: SSH times out - "Server unexpectedly closed network connection" Message-ID: <20050831195322.GG31769@localhost.localdomain> 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? Could be DNS-related. # grep -i DNS /etc/ssh/sshd_config UseDNS no FreeBSD has UseDNS on by default; I had to turn it off. I was experiencing a similar hang-for-a-while-then-die thing. If that doesn't help, look at the output of ssh -vvv $REMOTE_HOST. -- o--------------------------{ Will Maier }--------------------------o | jabber:..wcmaier@jabber.ccc.de | email:..........wcmaier@ml1.net | | \.........wcmaier@cae.wisc.edu | \..........wcmaier@cae.wisc.edu | *------------------[ BSD Unix: Live Free or Die ]------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050831195322.GG31769>