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: <00a101c0a5e7$4b8a5800$1419a8c0@mercury> From: "Michael Erdely" To: References: <3AA39B73 DOT FEBCB202 AT mindspring DOT com> <20010305152228 DOT G1398 AT cygbert DOT vinschen DOT de> <3AA44C9F DOT F68FCA67 AT mindspring DOT com> Subject: Re: debugging sshd as service Date: Mon, 5 Mar 2001 21:43:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 There you go. Your AppDirectory, Application and AppParameters values must go in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters HTH, -ME ----- Original Message ----- From: "Brian Beuning" To: "Corinna Vinschen" Sent: Monday, March 05, 2001 9:34 PM Subject: Re: debugging sshd as service > 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 > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple