delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=gFCdar1H/sFfwLa7 | |
JDqsYObLHAn2eNLBk7s1c+gcrMOsdNaZvzPbKB2NFgxrdiAEwZRPodvsP1OJWaoe | |
coi68rrYXp2hRJR5DUxce05OdfEpVPEZ37Q/0tEJ6g/0PM0/awIN2eXy7hAtk5on | |
anzKumxWVM0ChV2RUqpmUKVq94s= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=lFyvRF7TDIImIfvIjSnBD9 | |
1SwXs=; b=Q2pRPMC/PE0GG7fChSALMQq/NNiff3qlv/h13GwfDi2tyd9e0A6MBr | |
AjaFNnnsBkTESdCgdf6HrMLkmFV9+8yYlcP0MoHOhc8YngqU13uhKukGkc3RLg8M | |
qhwuIO8nmDd4FY6s0hU8wF2LBPQPMYHHmTDs74WIgCxBkC8/lJKK4= | |
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-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=Repin, Andrey, andrey, repin |
X-HELO: | smtp-out-so.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: cygrunsrv does not start cygsshd at boot |
To: | cygwin AT cygwin DOT com |
References: | <20200121170233 DOT GA24346 AT ti129 DOT telemetry-investments DOT com> <87pnfca6mc DOT fsf AT Rainer DOT invalid> <20200122160541 DOT GA28483 AT ti129 DOT telemetry-investments DOT com> <87muafs6bk DOT fsf AT Otto DOT invalid> <fb56f8c5-8b93-655e-f949-d7f7a52a073f AT SystematicSw DOT ab DOT ca> <0c9985fb-3b9b-0370-53b5-f49036d775d8 AT SystematicSw DOT ab DOT ca> <916514140 DOT 20200129002639 AT yandex DOT ru> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <b40abb5b-3f4b-fb6e-8984-4185b2ea1685@SystematicSw.ab.ca> |
Date: | Tue, 28 Jan 2020 15:21:30 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
MIME-Version: | 1.0 |
In-Reply-To: | <916514140.20200129002639@yandex.ru> |
X-IsSubscribed: | yes |
On 2020-01-28 14:26, Andrey Repin wrote: >> $ cygrunsrv -VQ cygsshd >> Service : cygsshd >> Display name : CYGWIN sshd >> Current State : Running >> Controls Accepted : Stop, Preshutdown >> Command : /usr/sbin/sshd -D >> stdin path : /dev/null >> stdout path : /var/log/cygsshd.log >> stderr path : /var/log/cygsshd.log >> Process Type : Own Process >> Startup : Manual >> Dependencies : dnscache, cygserver, syslog-ng > > I strongly suggest adding "tcpip" here. No - causes problems as tcpip is a kernel driver which is early and low level BOOT_START - other BOOT_START and SYSTEM_START kernel drivers and services depend on tcpip, and later AUTO_START services like dhcp and dnscache depend on those - once those are available, we have a gateway, resolver, and the other network services which we need available to use the network, which is why we need to start Cygwin network services as Delayed auto start (HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/cygsshd Start=2 DelayedAutostart=1) and Preshutdown (cygrunsrv -O, --preshutdown HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/cygsshd/Parameters Preshutdown=1). -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |