Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Stefan Norberg" <stnor@sweden.hp.com>
To: <cygwin@sourceware.cygnus.com>
Subject: openssh and inetd woes...
Date: Tue, 13 Jun 2000 02:47:37 +0200
Message-ID: <JOEIICGFEHPPCFAMLANJAEMCCAAA.stnor@sweden.hp.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal

Hi all! I'm new to this list so please bear with me if this is a clueless
question.

I'm trying to set up a *minimal* remote admin kit for NT using Corianna
Vinschen's excellent ports of inetd and openssh. This means I'm not using
the full Cygwin environment.

* When I'm running SSHD as a stand-alone server I can't scp to the system -
"connecion lost". SCP works fine if I'm running from inetd or if I'm running
"sshd -d".

* When running sshd from inetd I don't get the output from _Win32_ console
apps (like net.exe). These apps are started in the backgroud (a separate
console window pops up on the server). For some reason, this works fine when
running sshd as a stand-alone server or in debug mode.

Any clues - anyone?


Stefan Norberg
stnor@sweden.hp.com

Everything is mounted TEXT mode.

Files on the system:
--------------------
\winnt\system32:
	cygwin.dll (latest net release),
	inetd.exe (running as Local System),
	bash.exe,
	ssh*.exe

\etc:
	passwd (made by mkpasswd -l)
	group (made by mkgroup -l)
	inetd.conf
	ssh*

The software is built this way:

Inetutils
---------
$
./configure --libexecdir=/winnt/system32 --sysconfdir=/etc --prefix=/winnt/s
ystem32 --bindir=/winnt/system32 --sbindir=/winnt/system32
$ make all

OPENSSH
-------
bash-2.04$
./configure --prefix=/winnt/system32 --bindir=/winnt/system32 --sbindir=/win
nt/system32 --sysconfdir=/etc --with-ssl-dir=/usr/src/openssl/openssl-0.9.5 
--with-pid-dir=/winnt/system32 --with-default-path=/winnt/system32 --without
-lastlog --with-libexecdir=/winnt/system32


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

