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:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*------------------[ BSD Unix: Live Free or Die ]------------------*

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to