X-Spam-Check-By: sourceware.org Message-ID: <44A6CF9D.4080906@cygwin.com> Date: Sat, 01 Jul 2006 15:40:13 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: error starting sshd as a service References: <3ACC8107-177F-453D-BB3B-76903104B648 AT paidtech DOT com> In-Reply-To: <3ACC8107-177F-453D-BB3B-76903104B648@paidtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 On 07/01/2006, Raymond Blum wrote: > 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? Yes. Please read and follow the problem reporting guidelines found here: > Problem reports: http://cygwin.com/problems.html You've told us what the problem is you're having but not much in the way of details of what you have installed or what you did to configure sshd. So I'd suggest starting with the basics back at the beginning. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/