delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/06/20:26:54

X-Recipient: archive-cygwin AT delorie DOT 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:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=xZD24pZrJ4hZKktxCh1fEI6nHu5jur
VMutPsvJQHblvRjduj7sdY6oqQMVU+IZsoOQKCRm2CLS5J9nmVjkSHdJauGqakfR
TcVD8bqyrVe0M0RvsaFZroPiCH9DLDxmkMk/YwynKgHOlCDIAvMAMggY0ZlTDMdC
1YDUfMKZSeM/0=
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:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=xU91eI0EUKEIY7kChE5JeZL/to0=; b=KeXg
1TVlDZUjvHxblzGknQ7WHlsW8iZfoOV4VT+rG0IfEhdxRnMlPXl5a5ub43OD1iqD
gEbdkDJbE9rJDVhq/ZmtAaAhyyrbcXNK3aZRfpMK8LoDql471qqhlSerGmAf7C6N
/ge+/maTIty+2hmR4AEiZPf9ccBBRgPeDOoCdVo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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*r:Unknown, Services, services
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Charles Russell <worwor AT bellsouth DOT net>
Subject: Re: Installing sshd with option --type manual
Date: Sat, 6 May 2017 19:25:40 -0500
Lines: 29
Message-ID: <a5ee8f26-49a3-708d-5695-23beaba53e8d@bellsouth.net>
References: <odvo8o$3ib$1 AT blaine DOT gmane DOT org> <oeg32r$d3j$1 AT blaine DOT gmane DOT org> <c5997743-f93c-d999-b358-c058669ab6b2 AT bellsouth DOT net>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In-Reply-To: <c5997743-f93c-d999-b358-c058669ab6b2@bellsouth.net>
X-IsSubscribed: yes

On 5/4/2017 3:31 PM, Fran Litterio wrote:
 > On 4/28/2017 11:48 AM, Charles Russell wrote:
 >> 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"
 >
 > You can try opening the Services Control Panel app (run "start
 > services.msc" in a Command Prompt) and changing the startup type of
 > service "Cygwin sshd" to "Automatic (Delayed Start)".

I reran ssh-host-config and it restored the status quo ante, including 
pubkeys and all configuration.  However, even though sshd is working 
fine under Cygwin, it does not appear in Windows' list of services, so I 
cannot change the startup option there.

 >
 > In theory, that was all you changed with your cygrunsrv command.

Looking at the cygrunsrv command in ssh-host-config, installation of 
sshd requires some additional configuration options that I don't understand.

Thanks for your response.



--
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

- Raw text -


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