[ssh-l] Getting sshd to auto-start

From: Soren Pingel Dalsgaard <pingel_at_**********.***>
Date: Thu Oct 25 2001 - 15:09:41 EDT

Hi,

I have followed all your instructions (yes all, including all the reboots)
for installing sshd as a service and it seems to semi-work for me. (If this
sounds familiar: Yes I have asked the list before but I have not been able
to get any satisfying answer yet :->).

I have made a clean install of W2K and a fresh install of the latest Cygwin.
My disk is nothing but NTFS and I have "ntsec tty" in my environment.

What I have is:

* I can run /usr/sbin/sshd from the command line and test that it works to
localhost and to dalsgaards.dk, also from outside my own network.

* I get the 'Cygwin SSHD' service in the list of Services and it says
"Automatic" but it is not started.

* I can start the service by pressing '|>' (Start) from the list of services
without any complains whatsoever!!

This is very annoying if my system boots for some reason I will not be able
to ssh to it from work as the service does not come up after a restart!

Here is what I get in my Event Viewer (System Log), 2 entries as follows:

----------------------------------------------------------------------
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7009
Date: 25-10-2001
Time: 20:54:25
User: N/A
Computer: PINGEL
Description:
Timeout (30000 milliseconds) waiting for the Cygwin SSHD service to connect.
----------------------------------------------------------------------
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7000
Date: 25-10-2001
Time: 20:54:26
User: N/A
Computer: PINGEL
Description:
The Cygwin SSHD service failed to start due to the following error:
The service did not respond to the start or control request in a timely
fashion.
----------------------------------------------------------------------

Is it a problem that user is 'N/A'?? Should I use some '-u admin -w joshua'
thing or is this not required?

Thanks for all your input!!

/Soren

--
List Information: http://tech.erdelynet.com/maillist-ssh-l.asp
List Archives:    http://erdelynet.com/archive/ssh-l/
Received on Thu Oct 25 15:15:01 2001

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:30 EDT