delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/05/21:45:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <mike AT erdelynet DOT com>
To: <cygwin AT cygwin DOT com>
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
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" <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019