delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/01/00:05:07

X-Spam-Check-By: sourceware.org
Mime-Version: 1.0 (Apple Message framework v750)
In-Reply-To: <3ACC8107-177F-453D-BB3B-76903104B648@paidtech.com>
References: <3ACC8107-177F-453D-BB3B-76903104B648 AT paidtech DOT com>
Message-Id: <CC40EC95-71D8-453B-B26B-923B82305F52@paidtech.com>
From: Raymond Blum <raymond AT paidtech DOT com>
Subject: Correction to: error starting sshd as a service
Date: Sat, 1 Jul 2006 00:04:51 -0400
To: cygwin AT cygwin DOT com
X-Mailer: Apple Mail (2.750)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Pasted in the wrong cygrunsrv output, sorry, The output in the  
current state of affairs is

$cygrunsrv -Q sshd
Service : sshd
Display name : CYG SSHD
Current State : Stopped
Command : /usr/sbin/sshd -D
---Raymond


On Jul 1, 2006, at 12:00 AM, Raymond Blum wrote:

Hi
  My Win2003 server sshd stopped working last night, from the time of  
day I assume that it was an MS Windows update and in hindsight  
perhaps windows FW had started blocking it and it was reparable  
but... I decided instead to upgrade my Cygwin installation to the  
current release (bad move)

I have it at the point where I can run sshd as the sshd_server user  
("/usr/sbin/sshd -D") but when I start it as a service I get the  
message in the event viewer
"The sshd service was unable to log on as .\sshd_server with the  
currently configured password due to the following error: The  
parameter is incorrect."

I tried, against popular advice in the archives, to run as the local  
system account and turn off privilege separation in sshd_config but  
while the service started I then got the error "seteuid 1003 no such  
process" in the application event log every time I tried to ssh into  
the machine.  So, I abandoned that effort and put it back to running  
as sshd_server.

I have uninstalled, reinstalled, checked the password for the user  
several times.

I have also googled and tried various advice offered on different  
pages for the last 6 hours. So, I decided that it is time to ask for   
help.

Here is what I have from cygrunsrv
$cygrunsrv -L
sshd
cygserver

$cygrunsrv -Q sshd
Service : sshd
Display name : CYG SSHD
Current State : Started
Command : /usr/sbin/sshd -D

I have no idea what parameter it is that's invalid (or even what  
command it is a parameter to) - ie a parameter to cygrunsrv or a  
parameter to sshd.

I have the machine running sshd -D from a session logged in as  
sshd_server but obviously this is not acceptable in the long term.

Thanks for reading this far, any advice or ideas?
---Raymond

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


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