X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Cc: <cygwin@cygwin.com>
Message-Id: <C64BBDF6-4697-4094-A34C-62BD50DCF11D@pobox.com>
From: Chap Harrison <clh@pobox.com>
To: David Christensen <dpchrist@holgerdanske.com>
In-Reply-To: <005501c9f6cd$7f09b140$7d1d13c0$@com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
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@pobox.com> <005501c9f6cd$7f09b140$7d1d13c0$@com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

