On Wed, Dec 04, 2002 at 10:33:41AM +0100, David Brown wrote: > I am trying to get sshd to run as a service on my W2K SP2 machine. I have > got sshd set up properly (as far as I know), with all the keys and files it > needs. If I start a cygwin bash shell and type "/usr/sbin/sshd", then the > server starts fine and issues no errors or warnings. From another PC on the > network, I can ssh in to this PC. In other words, sshd is working > perfectly. > > However, when I install it as a service with > > cygrunsrv -I sshd -p /usr/sbin/sshd > > and then try to start the service, either with cygrunsrv or from the Control > Panel, I get: > > cygrunsrv -S sshd > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The service has not been started.
Are your mounts type system or user ? system should be better. Gruss Olaf Föllinger -- Olaf Föllinger Berater S.E.S.A. Software und Systeme AG -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/