public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Houder <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
Date: Wed, 20 Feb 2019 22:32:00 -0000	[thread overview]
Message-ID: <8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net> (raw)
In-Reply-To: <9182b0f90b1341b32edd9c0ba02e89a9@smtp-cloud8.xs4all.net>

On Wed, 20 Feb 2019 23:01:01, Houder  wrote:
> On Wed, 20 Feb 2019 22:41:08, Corinna Vinschen  wrote:
> 
> > On Feb 20 22:35, Houder wrote:
> [snip]
> 
> > >
> > > Perhaps I missed something in the last couple of month. Did I have
> > > to change
> > > something in the setup of openssh?
> > 
> > I really don't know, this all works fine for me.  Try switching the
> > account starting sshd from cyg_server to LocalSystem and change
> > ownership of all files /etc/ssh* to SYSTEM.
> 
> I carried out Andy M.'s instruction and it worked (as I wrote). The
> files you mention above are still owned by cyg_server (and readable
> by group Adminstrators).

As a final step I rebooted my system (W7, 64 bits, Uising 64-bits Cygwin).

I can still connect to the localhost w/ ssh ...

But I cannot start and stop the "sshd service" using cygrunsrv.

64-@@ cygrunsrv -E sshd
cygrunsrv: Error stopping a service: OpenService:  Win32 error 5:
Access is denied.

64-@@ cygrunsrv -S sshd
cygrunsrv: Error starting a service: OpenService:  Win32 error 5:
Access is denied.

I have to use the "services applet" from Windows in order to start and
stop the service.

Henri


--
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:[~2019-02-20 22:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19759126.568100.1550686604174.ref@mail.yahoo.com>
2019-02-20 18:53 ` James R. Phillips via cygwin
2019-02-20 19:04   ` scowles
2019-02-20 19:47     ` Bill Stewart
2019-02-20 20:01       ` scowles
2019-02-20 20:25     ` Houder
2019-02-20 21:27       ` Corinna Vinschen
2019-02-20 21:34         ` Andy Moreton
2019-02-20 21:39           ` Corinna Vinschen
2019-02-20 22:13             ` scowles
2019-02-20 21:50           ` Houder
2019-02-20 22:38             ` Corinna Vinschen
2019-02-20 22:44               ` Corinna Vinschen
2019-02-21 11:43                 ` Corinna Vinschen
2019-02-21 16:01                   ` Houder
2019-02-23 19:15                     ` Cary Lewis
2019-02-24  6:58                       ` Cary Lewis
2019-09-15  6:45             ` Basin Ilya
2019-09-15  7:07               ` Basin Ilya
2019-02-20 21:35         ` Bill Stewart
2019-02-20 21:37         ` Houder
2019-02-20 21:50           ` Corinna Vinschen
2019-02-20 22:08             ` Houder
2019-02-20 22:32               ` Houder [this message]
2019-02-20 22:43                 ` Corinna Vinschen
2019-02-21  5:16                   ` Houder
2019-02-20 22:36               ` scowles
2019-02-20 23:08                 ` Corinna Vinschen

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=8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net \
    --to=houder@xs4all.nl \
    --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).