delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/14/15:56:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3EC29F31.B3CA5335@acm.org>
Date: Wed, 14 May 2003 12:55:29 -0700
From: David Rothenberger <daveroth AT acm DOT org>
X-Accept-Language: en
MIME-Version: 1.0
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: sshd as service without /usr/bin being in the system path.
References: <D721826DEE793D49BC49582C121EDD3E820E AT exchange DOT perwill DOT com>

I diffed the two files you provided and noticed this:

ssh-fail.txt:
debug1: Remote protocol version 1.99, remote software version
OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*

ssh-succeed.txt:
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.6.1p1
debug1: match: OpenSSH_3.6.1p1 pat OpenSSH*

So apparently, you're not starting the same version of sshd when you
boot as when you manually start the service.  Weird.

Also, I noticed this:

ssh-fail.txt:
debug1: Host 'devtestw2k' is known and matches the DSA host key.

ssh-succeed.txt:
debug1: Host 'devtestw2k' is known and matches the RSA host key.

That is, the failing case is finding a DSA host key, while the
succeeding case is finding an RSA host key.  This makes me wonder
whether the sshd process started at boot is even using the same /etc
directory.

Dave

Steve Fairbairn wrote:
> 
> I have attached ssh -v logs from both a failed connection and a successful
> one.  If anyone has any suggestions, I'd be most grateful.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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