delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/13:13:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <779F20BCCE5AD31186A50008C75D9979171763@silldn_mail1.sanwaint.com>
From: "Fifer, Eric" <EFifer AT sanwaint DOT com>
To: GNUWin32 <cygwin AT sources DOT redhat DOT com>
Subject: RE: OpenSSH through inetd.
Date: Wed, 2 Aug 2000 18:03:44 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

"Jens Yllman" wrote:
>But after I did a reinstall for the cygwin 1.1.3 I can not get ssh to work.

I think I'm seeing the same thing.  I had been running cygwin-1.1.3
with openssh-2.1.0p3 and starting a ssh session from inetd/sshd
worked fine.  Today, I only upgraded openssh-2.1.1p4 and now I can
*NOT* start ssh from inetd/sshd, either when inetd is started as a
WinNT Service or when inetd (-d) is started from bash.

My account has administrator privileges and in sshd_config I'm only
using "PasswordAuthentication yes".  A ssh -v shows everything
going very normally, "debug: Entering interactive session.", then
all of a sudden the other side of the connection drops and the
session fails with "Connection to sil2036 closed."

However, if I launch sshd from bash (with or without debugging),
a ssh session starts just fine.

The sshd -d debugging (that goes to the Event Viewer) doesn't
seem to contain anything useful.  When comparing the sshd -d
output for a failed ssh session (launched from inetd/sshd)
to a successful ssh session (launched from bash/sshd, no -i),
there is no obvious culprit.

The failed session seems to almost complete, but then the forked
sshd child exits for some unknown/unreported reason.  Since,
things worked before and logging in via telnetd continues
to work, I'm assuming the problem is not with my configuration
and has something to do with the new openssh-2.1.1p4 release.

I backed out to openssh-2.1.0p3 and everything works fine again.

I'll need to recompile and add more debugging to further isolate
the problem.

Eric Fifer

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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