On Wed, Dec 05, 2001 at 09:44:01AM +0100, Corinna Vinschen wrote: > On Tue, Dec 04, 2001 at 05:32:08PM -0600, Dave Pinsker wrote: > > Using "cygrunsrv" to install a service is successful, however am unable > > to successfully start service either through "cygrunsrv -S" or Win's > > Service Manager. Returns the error "Service did not return an error", > > as seen in other postings. Numerous attempts with different configuration > > settings seem to say that using cygrunsrv with my configuration is a nogo. > > A good way to debug problems in sshd when started as service is, > Use `-d' instead of `-D' as argument. Then start the service > and after the service start has finished (successfully or not) > examine the debug output in /var/log/sshd.log. This will give > you a clue, perhaps. But note that when you start sshd with > the `-d' option, the service will automatically stop after the > first successful connection automatically.
Actually it stops after the first attempt to connect, not only if this attempt was successful. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/