X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Herman Poon Subject: Re: ssh starting problems. Date: Thu, 19 Jan 2006 15:04:37 +0000 (UTC) Lines: 41 Message-ID: References: <37ce792e0601190536x1268deaal93e2e8d7d5ec1b6a AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 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 JC Oosthuizen 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/