delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/12/09:17:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 12 Feb 2011 15:16:52 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH-5.8p1-1 Connection Problems
Message-ID: <20110212141652.GA5682@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4D567D8C DOT 80001 AT nglee DOT co DOT uk>
MIME-Version: 1.0
In-Reply-To: <4D567D8C.80001@nglee.co.uk>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On Feb 12 12:31, Andrew Ng wrote:
> I've also been experiencing connection problems with OpenSSH
> versions newer than 5.6p1-2. These problems occur with both Cygwin
> sshd (versions 5.6 to 5.8) and other UNIX sshd (e.g. Solaris).
> 
> I've attached client and server debug logs of both Cygwin ssh 5.6
> and 5.8 connecting to a Cygwin sshd 5.8, and a cygcheck dump.
> 
> If you need any more information or would like me to try new
> binaries then please let me know.

As usual the logs only show what happens, but they don't show why.

I installed OpenSSH-5.8p1 on Windows 7 64 bit.  I tried to connect from
32 and 64 bit Cygwin machines using ssh 5.8p1 and I tried it from a
Linux machine with ssh 5.5p1.  No problems at all.  I removed the ECDSA
host key to get the same "Can't load host key" message... still no
problems at all.

What about deleting and reinstalling sshd as a service?  Maybe that
helps.  

  $ cygrunsrv -E sshd
  $ cygrunsrv -R sshd
  $ cd /etc
  $ mkdir OLD-KEYS
  $ mv ssh_host* OLD-KEYS
  $ rmdir /var/empty
  $ rm -f /var/log/sshd.log
  $ ssh-host-config
  $ mv OLD-KEYS/* .
  $ chown cyg_server ssh_host*
  $ cygrunsrv -S sshd
 

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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