Server unexpectedly closed network connection
16 June 2007Server unexpectedly closed network connection
This is a problem I was having today while making a remote connection via SSH with Putty into a Red Hat (RHEL) box. When trying to connection it would give me the
error message “Server unexpectedly closed network connection”.
First I checked var/log/messages and it was reporting:
ssdh: refused connect from xx.xxx.xxx.xxx
Then I revied my hosts.allow file in /etc
It turns out that I simply had a typo. So I fixed the error with VI, and saved it. Then I did a: Service SSHD Restart.
Afterwards, my Putty session logged in fine. =]
If you’re using a DNS name in your hosts.allow file, it could be a DNS problem to. Try using an IP address and see if that helps things along.
|
|
Leave a Reply
Thanks For Visiting!