X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A48FE8A.1030206@cygwin.com>
Date: Mon, 29 Jun 2009 13:48:58 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Grief: installing OpenSSH on Cygwin / WindowsServer2003
References: <6533AD68-4B1E-4785-94D4-3C39C9FCE384@pobox.com>
In-Reply-To: <6533AD68-4B1E-4785-94D4-3C39C9FCE384@pobox.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Chap Harrison wrote:
> Hi,
> 
> I followed directions (/usr/share/doc/Cygwin/openssh.README) as best I 
> could, helped out by a couple of other web sources along the way.  I 
> know almost nothing about Windows administration.
> 
> Trying to connect with PuTTY gives a "server unexpectedly closed 
> connectin" error.
> 
> Here is where things stand:
> 
> -- there is a process /usr/bin/ssh running in Cygwin.  I don't have a 
> client running; could this possibly be sshd??

No.  'ssh' is 'ssh'.  'sshd' is 'sshd'.  Could be a zombie.  Try killing it
and starting over.

> -- I *can* ssh into the same machine from mintty.

So 'ssh' and the server (sshd) are fine then.

> -- the machine on which Cygwin and ssh are installed is a WinServer2003, 
> **running as a VM on a WindowsServer2003 host machine**. I don't know 
> whether this is relevant or not (i.e. whether additional configuration 
> is required on the host OS).
> 
> Can someone suggest a next troubleshooting step?

Sounds like a PuTTY problem then.  You'll need to ask about this on a
PuTTY list.  My guess is you have a configuration issue there.  If you
can get similar debugging output from PuTTY as you get from 'ssh', you
may be able to compare the two and see if something materializes.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

