delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/28/16:57:23

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:from:reply-to:to:cc:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; q=dns; s=
default; b=FuiMRVZGFNTOnt3A7BCDJQJb7nZ0alNTX9y+6f/uhu+huuvt+Y1Bu
OEY8ByGilWxFgPfkd5jinCZU9I2+VXfXYkDxrOjInBCT0a//01WTo6Z8p9eOzj9l
uAW0qlmx11udZ+UwgM+GoeVpN0lJDTJtn0tzD8/8dF0/fNJIomru6o=
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:from:reply-to:to:cc:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; s=default;
bh=4/8bkM8hn5E+bL8/9Q6QBudUVh8=; b=MdkBbMDnkX7h7zXKMxKYMyzzLst/
J5CYWHvYBVe4iJYpXXoQQRsCvthEWZxenVSNtQlh52vQiF2eKpFjSOgWt7h1YLf9
YttNQOkRikDfuBjNuyeLMRkRAzFiTjo1c/zAAgRyhMbA42yUcuK9yV0Xe2xXNvnH
A/h1JMFtoDeLNoQ=
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=-3.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=cygrunsrv, controller, cygsshd, HX-Spam-Relays-External:d23c
X-HELO: nihcesxway6.hub.nih.gov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1580248581; x=1611784581; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=q1KBQ+IwEl61no6nzc91wEyzPKEjLJti+IdQwv3DfvA=; b=acl8foBAmmjTsvPc04K6JRZRysrFrEX4kqOL15I7BfSK5ln4cppealUw LKyPG9sTStME+via50LvGd3KmJO9d60ljDjZlYp21NLspg61R7zntx3S7 WgdvvNTm+RO8YNvy1tNRDoKrGGUhHXXPlOIhu05FsDMGQOqUI+qOYcMIf HUkK8Y/d87BRze1qQqt7WKfCw9tFz8GxGkLMC4/hv3PokMBsdolDp5OKL dVRl3eM++ZN6lXyibc1PNKXSI0ZPWgg1rmvQygKuGWJ7Z80w7suUyJ4Vu ldVfe/98B4xzER2XYk0NpLrnouQ2IwmDhm0FqovIz81TqAf8sFKppIIGm w==;
IronPort-SDR: gU6lzy5tgo8U2IFpHASWjfcE26ROdYjQjLMi+ew6Vr8BLwsysXzr4Enujhzpb7YvYPLbd53ZSs cToJ6Ck5FQ7A==
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q1J9/w3i2iWuPwXatpbcLqux6kRkbkCSmSHLOOfIl4O/usxUGQ0eKqjLIJBUCyBZV+hZYLvoD66/fHNbU/wqfFp6guOsMat0x5SVzBSJztOfcEpVx64eaM18wKDZrc/Yp4GnD+bitq3yYs59j0D7siwdK8HQORfcdZgRHHgIO4ji9msbSU4wXveLwjWI2lLfRKTErVMvaSIJpYWvVeNDTGNSAmZR07yb7bQPScqlnN/e4EugSjxk1DVQA7yHIF2EDhLpqgEX7A1BxO75mWdDlMxdpZrslZwO7n3/uJxKIql4/eimTwtNi3bNYKWxmLqX/lqiUNnRo6z/gH9PbacUQQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q1KBQ+IwEl61no6nzc91wEyzPKEjLJti+IdQwv3DfvA=; b=WWsAnUjf7Sacl3CSlTyi7v/ZPczF5r7hXJSmkuzSHofCJl6PoXTGJhPLGdzqOD7Bl0zmluMDxYRnBjOICkznjZb851off2zRa9h8xiU1Ns1HuwcYC2GDnb3be+p+YWFNPFulCwkFarp44mmnl7cr9vBr9n05ZZQzYE39RzoQ2U7EWJxOlAPxrVAFX9lZMP0JfpCLARW5zR43cLS7BcJq26aRIAx9RC7pJTiwS2l2TWsQXB9eNl8c6yUihRiCU8urrnSdk5RCdlapzw+XJFNXgGkS/XWjwVl2ZQ+cwlNnW7cdq4EnkiltFa9O1AiIukiJ7zfxTt7y/dQ52U2ZH/9UMQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector2-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q1KBQ+IwEl61no6nzc91wEyzPKEjLJti+IdQwv3DfvA=; b=iEwIiTJS7lnxF86vG88cSHLTT35h9j0ZmddFcqoYQJJlccmgYjLGC1CW5GIsJeOgzzp79UEc0n2Ar+NWV7acwUuJFuAilm+n5QQQmdcvQCKnPm9xIJ+tE01OQQPiknPMYG+bHoKMLQooLCOn2Y78D+Jwwr2jNnq9u2ryl6DBnkU=
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
CC: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: cygrunsrv does not start cygsshd at boot
Date: Tue, 28 Jan 2020 21:56:16 +0000
Message-ID: <SN6PR09MB2877BFE37E95AE7363898E85A50A0@SN6PR09MB2877.namprd09.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov;
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-messagedata: vcg/KIJ2DiNsjvip8+u7IX62+b/dSHFAqqq7j2BSNCOPqnNUldCCIBoRxV6nE+JrONaiZxjBbGnSNRTnt/J6nx3fB0aI2M9Lf7B0UKrzQK9olFKTuWLSQBIm9p0GwkuNPqWTasTewLYRpyUW8pxixw==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: lLudIOHWdkG3k9t7NqwWKhMzxvMUHQzlPWuNJneLOLQEBgL6FmdKUSCM8ioL8evk
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00SLuwbi004569

> As the reg entries show, you can also do this by adding or setting registry
> entries using Cygwin regtool, Windows reg, or regedit commands.

It is better and much safer to use native Windows service controller commands, than tweaking the registry:

sc config cygsshd start= delayed-auto

Also, you won't need (or generally want) to use service pre-shutdown, as it can cause a very long delay when Windows restarts.

https://docs.microsoft.com/en-us/windows/win32/services/service-control-handler-function

My $.02

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