This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OpenSSH Strangeness on Windows 2000


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]