delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/18/18:10:27

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050818180519.04b0bcb8@pop.prospeed.net>
Date: Thu, 18 Aug 2005 18:09:55 -0400
To: "Mikkel Rostock" <mikkel AT nsales DOT dk>, <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: RE: Windows hardening and system paths
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA5Mn/gf2eOki 1anFw3+Z8M8KAAAAQAAAA+pJRU/rEhkecK8UAUznVHwEAAAAA@nsales.dk>
References: <43045936 DOT D69BBC8D AT dessent DOT net> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA5Mn/gf2eOki1anFw3+Z8M8KAAAAQAAAA+pJRU/rEhkecK8UAUznVHwEAAAAA AT nsales DOT dk>
Mime-Version: 1.0

At 05:55 PM 8/18/2005, you wrote:
>I installed Cygwin using the installer, and after installing the packages -
>as I have done at least 10 times before - I ran the ssh-host-config -y (yes
>to all). This usually generates the host-keys automatically, and as you
>correctly state; it also sets the right permissions per default.
>
>I installed the exact same package on another machine running Windows XP -
>to eliminate the possibility of differences in package versions being the
>issue here. However, the package that I installed on Windows XP - using the
>exact same installation and configuration procedures - started the service
>straight away - without any problems and without creating special user
>accounts. Maybe I should try and create a special user account, since I am
>trying to install on Windows Server 2003 and not XP where it works fine.
>
>Therefore my conclusion is that something must be configured wrong on this
>particular Windows Server 2003 - as you hopefully could make from the logs. 
>
>By the way - how do I generate the host keys? This might be the issue since
>sshd terminates because of this.
>
>Sorry for all the questions, but I am out of my depths here - I usually have
>no problems with Cygwin on any Windows platform... Maybe I'm on my own... 


Just run '/bin/ssh-host-config' interactively instead and when it tells you
you're running W2K3 and that you need to create a user to run the service 
as, tell it to do so.  Walking through the prompts is not hard and you'll
be sure that you create the 'sshd_server' user as needed.  This script
takes care of all configuration issues for you (including the host key files
and permissions).  The problem you noted is not specific to *your* W2K3 
machine.  It's a "feature" of W2K3.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (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/

- Raw text -


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