cygrunsrv, sshd, services and not starting after boot
Ron Dozier
dozier@udel.edu
Sat Sep 2 20:18:00 GMT 2006
I noted that a lot of people are having trouble getting the sshd service to
start automatically. I think I discovered a problem.
Run services.msc and selecting sshd) there is a "Path to executable" field
that currently says :"C:\cygwin\bin\cygrunsrv.exe"
Based on looking at some other entries like "automatic updates which use
C:\WINDOWS\system32\svchost.exe -k netsvcs", I believe it should say:
C:\cygwin\bin\cygrunsrv.exe -S sshd
otherwise the application cygrunsrv has no idea what service to start.
Microsoft says it's up to the developer to provide a mechanism to do so.
"net start" sshd works. Currently someone has to log in after a boot and
type the command. The suggestion of running a batch file containing "net
start sshd" has been suggested to run automatically after a user logs in but
was not tried.
This would require a user logging in.
Features of cygrunsrv I'd like to see:
A method of changing the Path variable reported by services.msc.
A method of changing the options presented to sshd reported by services.msc.
Am I barking up the wrong tree?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list