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:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=EZD616 7O67DUe+G9VTxEYtmBbJBYh9qYmS/PFFn/Z5J1IA+XhMdC/aNlH3DODkeA0nweS5 Yw1RzQJgmasr+rtjASQo8xMTPrr/S5aiQWTZ+JZkMLGUpdeeuo92fXn1IoNwaLkO m4f6E/sKaDkoKbaSPH84wG+Cn2xzyV4UDjgYI= 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:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; s=default; bh=I1A+7M6TsSSU 4zUkRi3kIPTDoSY=; b=YErt9od73Um9JLkA4+qiQsQi+onX5SVO4D2otP0hCUQt xabud2nKYqeRXK93oFIRkZpIUpaIGm53UEteT5N6neUlUPfreSNIbPp1CVk0TrpA kYpVoXMhqQ0YRUw37xsv92uXRxtmyBa1O1Omp2CX7NELGNVAbYoTXG5LreJL2ys= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.6 required=5.0 tests=BAYES_00,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=stopping, H*F:D*nl, month, services X-HELO: lb1-smtp-cloud8.xs4all.net Date: Wed, 20 Feb 2019 23:25:03 +0100 Message-ID: <8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net> From: Houder Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: cygwin 3.0.1-1 breaks my sshd install References: <19759126 DOT 568100 DOT 1550686604174 DOT ref AT mail DOT yahoo DOT com> <19759126 DOT 568100 DOT 1550686604174 AT mail DOT yahoo DOT com> <47883ab06634fed3ecdaa375016dc3fb AT smtp-cloud8 DOT xs4all DOT net> <20190220202536 DOT GX4256 AT calimero DOT vinschen DOT de> <0a2366b9de0f65ed912d41c2ee040f4a AT smtp-cloud8 DOT xs4all DOT net> <20190220214108 DOT GZ4256 AT calimero DOT vinschen DOT de> <9182b0f90b1341b32edd9c0ba02e89a9 AT smtp-cloud8 DOT xs4all DOT net> In-Reply-to: <9182b0f90b1341b32edd9c0ba02e89a9@smtp-cloud8.xs4all.net> Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 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