delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/27/00:16:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Cc: <cygwin AT cygwin DOT com>
Message-Id: <C64BBDF6-4697-4094-A34C-62BD50DCF11D@pobox.com>
From: Chap Harrison <clh AT pobox DOT com>
To: David Christensen <dpchrist AT holgerdanske DOT com>
In-Reply-To: <005501c9f6cd$7f09b140$7d1d13c0$@com>
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: Re: Grief: installing OpenSSH on Cygwin / WindowsServer2003
Date: Fri, 26 Jun 2009 23:15:53 -0500
References: <6533AD68-4B1E-4785-94D4-3C39C9FCE384 AT pobox DOT com> <005501c9f6cd$7f09b140$7d1d13c0$@com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019