Mail Archives: cygwin/2001/03/05/21:45:26
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" <bbeuning AT mindspring DOT com>
To: "Corinna Vinschen" <cygwin AT cygwin DOT com>
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
- Raw text -