Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Lee Thompson" <thompsonl@logh.net>
To: cygwin@sources.redhat.com
Subject: Re: OpenSSH Strangeness on Windows 2000
Date: Sun, 12 Nov 2000 15:53:07 -0800
Reply-To: thompsonl@logh.net
Message-ID: <kkau0tkb4hbdahlpuokboqpmrccnuqmq7j@4ax.com>
References: <diot0tc7s8h8iv4ort0q6o1b547a1kdld8@4ax.com> <3A0EFE05.34137875@redhat.com> <gm8u0tk5b09li0ui2c7dou3gd1fnjams62@4ax.com> <3A0F2986.E7AF3FDF@redhat.com>
In-Reply-To: <3A0F2986.E7AF3FDF@redhat.com>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-SLUIDL: 57ADB750-589143C4-966AEAF1-015E4D5A
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id SAA20181

On Mon, 13 Nov 2000 00:36:38 +0100, you wrote:

> Lee Thompson wrote:
> > 
> > On Sun, 12 Nov 2000 21:31:01 +0100, you wrote:
> > 
> > > Lee Thompson wrote:
> > > > sshd.exe seems to start ok if I invoke it as a console application.   As a
> > > > service it seems to launch and then exit without any sign of an error.   I've
> > > > tried having it run under LocalSystem (SYSTEM) and under a user with the
> > > > proper rights established with no change in behavior.    Nothing else is
> > > > listening on the port.
> > >
> > > You're using ntsec. Check the ownership of all ssh related files.
> > > The host key files have to be owned by system or any user which
> > > has the cygwin uid 0. The private host key file has to have at least
> > > permission 0600.
> > > This is documented in /usr/doc/Cygwin/openssh-2.3.0p1.README
> > 
> > Unfortunately, the problem persists.
> 
> Did you add the directory which contains cygwin1.dll (typically
> C:\Cygwin\bin) to your systems environment variable $PATH? And
> did you reboot afterwards?

Yes to both.  In fact, c:\cygwin\usr\sbin and c:\cygwin\sbin are in the PATH
too.


$ ls -l
total 32
-rwxrwxrwx   1 544      None          567 Nov 10 15:21 group
drwxrwxrwx   2 544      None         4096 Nov 12 00:24 old
-rwxrwxrwx   1 544      None         1478 Nov 12 15:13 passwd
drwxrwxrwx   2 544      None            0 Nov 10 15:21 postinstall
-rwxrwxrwx   1 544      None          471 Nov 10 15:21 profile
drwxrwxrwx   2 544      None        28672 Nov 10 15:21 setup
-rw-rw-rw-   1 administ None           94 Nov 10 18:50 sgcpwd
-rw-r-----   1 everyone None          995 Nov 12 00:25 ssh_config
-rw-------   1 everyone None          668 Nov 12 00:25 ssh_host_dsa_key
-rw-rw----   1 everyone None          613 Nov 12 00:25 ssh_host_dsa_key.pub
-rw-------   1 everyone None          537 Nov 12 00:25 ssh_host_key
-rw-rw----   1 everyone None          342 Nov 12 00:25 ssh_host_key.pub
-rw-------   1 everyone None         1035 Nov 12 00:25 sshd_config
-rwxrwxrwx   1 544      None        12265 Oct 20 22:32 termcap



I have the service (installed with SRVANY) set to LocalSystem (SYSTEM).


The service "Parameters\Application" setting is "c:\cygwin\usr\sbin\sshd.exe"



-- 
Lee Thompson
thompsonl@logh.net

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

