public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Russell <worwor@bellsouth.net>
To: cygwin@cygwin.com
Subject: Re: Installing sshd with option --type manual
Date: Sun, 07 May 2017 03:27:00 -0000	[thread overview]
Message-ID: <a5ee8f26-49a3-708d-5695-23beaba53e8d@bellsouth.net> (raw)
Message-ID: <20170507032700.KKyEYSu3imAYEj3z2-LZG820hvknoIpW8pCDc37JfDA@z> (raw)
In-Reply-To: <c5997743-f93c-d999-b358-c058669ab6b2@bellsouth.net>

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

  reply	other threads:[~2017-05-07  0:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-29  2:35 Charles Russell
2017-05-04 20:31 ` Fran Litterio
2017-05-07  0:18   ` Charles Russell
2017-05-07  0:25     ` Charles Russell [this message]
2017-05-07  3:27       ` Charles Russell
2017-05-10  5:31       ` Charles Russell
2017-05-10 18:01         ` Brian Inglis
2017-05-06 17:28 ` Charles Russell

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=a5ee8f26-49a3-708d-5695-23beaba53e8d@bellsouth.net \
    --to=worwor@bellsouth.net \
    --cc=cygwin@cygwin.com \
    /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).