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 To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: sshd install problems | WinXP Pro system Date: Sun, 11 Sep 2005 16:37:11 +0100 Lines: 49 Message-ID: <1n6sbhsmwx7w5$.hfhczdqig0oy.dlg@40tude.net> References: <6 DOT 2 DOT 3 DOT 4 DOT 2 DOT 20050910165424 DOT 021e07d0 AT postoffice6 DOT mail DOT cornell DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: 40tude_Dialog/2.0.15.1 X-IsSubscribed: yes * Evan Cooch (2005-09-10 22:08 +0100) > After 2-3 hours googling for insights, and thoroughly reading what > was available, I've decided to stop beating my head against the wall, > and ask here. > > Basically, trying to get sshd installed as a service under WinXP Pro > -SP2. Trying the install as a user who has full admin privelages on > the system. > > 1. downloaded Cygwin - installed what I needed (cygrunsrv and > openssh) in addition to the usual defaults. No muss, no fuss. > > 2. modifed the env variables by adding a variable named CYGWIN with > value ntsec tty Not necessary. > 3. added c:\cygwin\bin to the PATH Not necessary. > 4. now is when the problems seem to start (I think)...when I run > host-ssh-config, I get only one question - the one about 'privelage > separation'. I answer 'yes' Thats it. No further questions - nothing > about 'local user', or 'install sshd as a service', or the 'CYGWIN=' question. > > Hmmm... > > 5. bring up a terminal window, and type > > cygrunsrv --start sshd > > Nada. After about 60 seconds of 'trying', it quits, and refuses to > start. Reboot 10 or so times - find the sshd is sitting there as a > service, but not started . Manual starts all fail. > > 6. Try chown and chmod for various files as mentioned on several > Google sites. Nada. Still can't get sshd to start. > > So, given that there must be at least several hundred hits on 'sshd > won't start' on Google, seems as if this is a ubiquitous, and > pernicious problem. Surely there has to be a simple solution. > > suggestions? Pointers to solution? The machine is generic, vanilla, > clean XP SP2. I'd have thought that the sshd install should have been > about as straightforward as you could get, but no such luck. Try again. Remove the service (cygrunsrv -R) and try without separation. Look at the event log. Look at /var/log/ssh* -- 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/