X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0	tests=AWL,BAYES_20,BOTNET,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <5109E15C.20204@cygwin.com>
Date: Wed, 30 Jan 2013 22:13:32 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: sshd service will not start on Windows 7
References: <1359486853591-95750.post@n5.nabble.com> <51082B30.3020303@prager.ws>	<51082C6E.5020409@gmail.com> <1359549388.9218.YahooMailNeo@web162704.mail.bf1.yahoo.com> <CAPUpn4j=AkJovtKvwcPwcdEruYUAENvsLiQZaYwaxu+2Mo-2UQ@mail.gmail.com>
In-reply-to: <CAPUpn4j=AkJovtKvwcPwcdEruYUAENvsLiQZaYwaxu+2Mo-2UQ@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 1/30/2013 9:13 AM, David Carricajo wrote:
> On Wed, Jan 30, 2013 at 1:36 PM, misterblinky <misterblinky@yahoo.com> wrote:
>>
>> So ... a) cyg_server *is* in the Administrator group in Windows; and b) I ran the editrights commands just in case. Same deal. "CYGWIN sshd service could not be started".
>>
>> Oddly, "groups cyg_server" returns "None root" -- cygwin doesn't think it's in the administrator group.
>>
>> thanks for your thoughts ... any further suggestions?
>>
>
> The mmc "Event viewer" under the label System should give you more
> information about the offending service. If you installed cygwin and
> then created the user cyg_server, then you should check if it's
> available in /etc/passwd (most probably it's there). Can you start the
> process by issuing the command '/usr/sbin/sshd'?

Please don't attempt this if you don't know what you're doing.  You
can't start sshd from a normal command line without causing problems
for the service unless you start it from a window that's owned by
cyg_server.  If you don't know what I'm talking about and can't
figure it out by looking in the archives and/or googling, then I
recommend you don't try starting 'sshd' directly.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

