delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/16:26:05

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: <39888396.E1C4167E@cygnus.com>
Date: Wed, 02 Aug 2000 22:24:54 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: James Dumser <dumser AT bigfoot DOT com>
CC: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: OpenSSH through inetd.
References: <779F20BCCE5AD31186A50008C75D9979171763 AT silldn_mail1 DOT sanwaint DOT com> <39885D13 DOT 8558FD00 AT cygnus DOT com> <39887D74 DOT C547618A AT bigfoot DOT com>

James Dumser wrote:
> 
> On Wed, 02 Aug 2000 19:40:35 +0200, Corinna Vinschen wrote:
> > Has anybody of you tried to install sshd as service from LocalSystem
> > account started via SRVANY.EXE instead of inetd?
> 
> Would you mind posting some instructions (or a reference to
> instructions) for getting it started via SRVANY? I'd be happy to try
> this out, and was in fact a little put off by the comments on -i in the
> sshd man page.

SRVANY.EXE and INSTSRV.EXE are tools from the NT resource kit.

Assuming your SRVANY.EXE is in D:/usr/local/bin and your
sshd is in D:/usr/local/sbin:

On the commandline call:

	instsrv sshd D:\\usr\\local\\bin\\SRVANY.EXE

Output:
	The service was successfully installed, blahblah...

Then call RegEdit.
You will find a Registry Key:

	HKLM\SYSTEM\CurrentControlSet\Services\sshd

Under that key create a new Subkey named "Parameters"
Under "Parameters" create a new string (REG_SZ type) named
"Application".
Open the string "Application" and insert the value:

	D:\usr\local\sbin\sshd.exe

Leave RegEdit.

Start sshd from the command line by calling:

	net start sshd

Stop sshd (this is the complex part) by calling:

	net stop sshd
	kill -9 <sshd_pid>

Hope, that helps,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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