It finally turned out to be that /etc/hosts.deny was too restrictive:

ALL:ALL EXCEPT localhost:DENY

I ran ssh-host-config, but did not run ssh-user-config. Must have overlooked that step. Perhaps that would have taken care of it?

Thanks,
Chap

On Jun 26, 2009, at 9:17 PM, David Christensen wrote:

Chap Harrison wrote:
Trying to connect with PuTTY gives a "server unexpectedly closed
connectin" error.

Have you run ssh-host-config?  ssh-user-config?

Have you opened up port 22 in your firewall?

Have you tried telnet to port 22 from localhost and from another host?


HTH,

David




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to