From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin@cygwin.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Cc: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: cygrunsrv does not start cygsshd at boot
Date: Tue, 28 Jan 2020 21:56:00 -0000 [thread overview]
Message-ID: <SN6PR09MB2877BFE37E95AE7363898E85A50A0@SN6PR09MB2877.namprd09.prod.outlook.com> (raw)
> 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
next reply other threads:[~2020-01-28 21:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-28 21:56 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin [this message]
2020-01-28 22:28 ` Brian Inglis
2020-01-29 6:39 ` Brian Inglis
-- strict thread matches above, loose matches on Subject: below --
2020-01-29 18:55 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-29 23:08 ` Brian Inglis
2020-01-21 17:02 Andrew J. Schorr
2020-01-21 20:37 ` Achim Gratz
2020-01-22 16:05 ` Andrew J. Schorr
2020-01-22 18:18 ` ASSI
2020-01-22 22:08 ` Brian Inglis
2020-01-22 22:23 ` Brian Inglis
2020-01-28 21:35 ` Andrey Repin
2020-01-28 22:21 ` Brian Inglis
2020-01-23 15:54 ` Andrew J. Schorr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SN6PR09MB2877BFE37E95AE7363898E85A50A0@SN6PR09MB2877.namprd09.prod.outlook.com \
--to=cygwin@cygwin.com \
--cc=Brian.Inglis@SystematicSw.ab.ca \
--cc=lavr@ncbi.nlm.nih.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).