Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AA44C9F.F68FCA67@mindspring.com> Date: Mon, 05 Mar 2001 21:34:07 -0500 From: Brian Beuning X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Corinna Vinschen Subject: Re: debugging sshd as service References: <3AA39B73 DOT FEBCB202 AT mindspring DOT com> <20010305152228 DOT G1398 AT cygbert DOT vinschen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am (trying) to use srvany. I did instsrv sshd e:\bin\srvany.exe Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd are these settings AppDirectory REG_SZ e:\cygwin\tmp Application REG_SZ e:\cygwin\usr\sbin\sshd.exe AppParameters REG_SZ (blank) Description REG_SZ secure shell DisplayName REG_SZ sshd ErrorControl REG_DWORD 0x01 ImagePath REG_EXPAND_SZ e:\bin\srvany.exe ObjectName REG_SZ .\bbeuning (login name) Start REG_DWORD 0x03 Type REG_DWORD 0x10 Sorry I didn't mention this the first time. AHAH! Rereading the directions, I was supposed to make a Parameters key. Now sshd as a service starts and remote login works! Yeah! Thanks, Brian Beuning Corinna Vinschen wrote: > On Mon, Mar 05, 2001 at 08:58:11AM -0500, Brian Beuning wrote: > > I am trying to run sshd as a service. It is not working. > > All the cygwin tools I have tried are working. When > > I run sshd from a command prompt, it works fine. > > Starting sshd from the command line, I was able to > > connect with ssh both locally and remotely. > > > > If I use 'net start sshd', it says > > "The sshd service could not be started" > > "The service did not report an error" > > "More help is available by typing NET HELPMSG 3534" > > > > Using the 'services' control panel, it says: > > "Could not start the sshd service on Local Computer." > > "The service did not return an error." > > "This could be an internal Windows error or an internal service > > error." > > Sounds as if you tried to setup sshd as service without > using SRVANY. That will not work. > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Developer mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple