From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24198 invoked by alias); 12 Feb 2011 14:17:15 -0000 Received: (qmail 24168 invoked by uid 22791); 12 Feb 2011 14:17:02 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sat, 12 Feb 2011 14:16:55 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 26E072CAB63; Sat, 12 Feb 2011 15:16:52 +0100 (CET) Date: Sat, 12 Feb 2011 14:17:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: OpenSSH-5.8p1-1 Connection Problems Message-ID: <20110212141652.GA5682@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4D567D8C.80001@nglee.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4D567D8C.80001@nglee.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-02/txt/msg00318.txt.bz2 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