X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=uYG
	c7nKmjLUaUlbOKNLZM0NNuZyIiF4p0wmlhecCb6QQyh576ppF8ZpFjpmEUOPxKaj
	G3gYHuqZtnN5IO5DBeM0OkE8NlFgIFDKGn50NWv+Ry4nbA++V//JGYj5IwtI8mph
	NXrVN/bFjghRPD1+3NdAlOvsPCxQQ+IZxoxMV/eE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=FbVIW+WB1
	StBciV67R1J2Y3eqeo=; b=LZWB3IZxo38M2gkY5q1QM8/uEqhg8ZR0CyEGp7ktp
	kCapvlzoAk/pE4t2mpH1XHPoIfWd0V9Tt7PIVQMikZWHNd7sF8ctrH6TwVIXaa47
	32VRSuA9Ja5WDNx2nLQvktiDC6Pk9kZXViuvo/AjK+NvZZvdqRSHqhHaiHmZtEGS
	4s=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*Ad:D*bellsouth.net, H*r:Unknown
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Charles Russell <worwor@bellsouth.net>
Subject: Installing sshd with option --type manual
Date: Fri, 28 Apr 2017 10:48:42 -0500
Lines: 16
Message-ID: <odvo8o$3ib$1@blaine.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
X-Mozilla-News-Host: news://news.gmane.org:119
X-IsSubscribed: yes

Starting from a default installation of sshd that was working properly, 
I tried uninstalling sshd with cygrunsrv and reinstalling with --type 
manual.

(cygrunsrv --install sshd --path /usr/sbin/sshd.exe --type manual)

After rebooting I cannot start sshd with cygrunsrv.  Instead, I get 
message "Error starting a service: Query service status: Win32 Error 1062"

Is it practical to use "--type manual" with sshd, or are its security 
restrictions too tight for this kind of installation? My intent was to 
have sshd off by default, but available when I need it, with current 
status easily seen with ps.

Is there an easy fixup for my broken sshd, or should I rerun 
ssh-host-config?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

