delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/19/12:12:06

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Herman Poon <poonh AT mcmaster DOT ca>
Subject: Re: ssh starting problems.
Date: Thu, 19 Jan 2006 15:04:37 +0000 (UTC)
Lines: 41
Message-ID: <loom.20060119T155435-657@post.gmane.org>
References: <37ce792e0601190536x1268deaal93e2e8d7d5ec1b6a AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

JC Oosthuizen <jc.oosthuizen <at> gmail.com> writes:

> 
> Hi list,
> 
> I have a problem with starting sshd on a Windows 2003 Server machine.
> After I installed the service and I try to start it it gives the
> following error:
> Error 1069: The service did not start due to a logon failure.
> 
> I searched the archives and found that the policy might be wrong and
> checked that the user that will run sshd have the Logon as Service
> permission. But this was not the problem as the user already had that
> permission.
> 
> I tried to run sshd from the command line and that worked fine so I
> assume there is no problem with sshd installation itself but with the
> cygrunsrv config.
> 
> Attached is the output from cygcheck.
> 
> Any help will be apreciated.
> 
> Thanks.
> 
> Attachment (cygcheck.out): application/octet-stream, 29 KiB
> 

Did you use /usr/bin/ssh-host-config to set up sshd on the Win 2003 server? 
Currently I am running sshd on two such servers and set them up using the 
script. The script should detect that you are using Win 2003 and will ask if 
you want it to create a "sshd_server" user account and assign the privileges it 
needs under Local Security Policy to run properly. The sshd service should then 
be run under this account.

Although it's possible to set up/install sshd manually with cygrunsrv, IMHO the 
script is just simpler.

Cheers,

Herman


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019