Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Gernot Hillier <gernot.hillier@siemens.com>
Organization: Siemens AG
To: cygwin@cygwin.com
Subject: Re: Problem starting sshd as a service
Date: Thu, 5 Aug 2004 11:11:38 +0200
User-Agent: KMail/1.6.2
References: <20040804123351.75534.qmail@web11703.mail.yahoo.com> <200408051053.09293.gernot.hillier@siemens.com> <20040805085922.GE24647@cygbert.vinschen.de>
In-Reply-To: <20040805085922.GE24647@cygbert.vinschen.de>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain; charset="iso-8859-1"
Message-Id: <200408051111.39618.gernot.hillier@siemens.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i759BlUQ006982

Hi!

Am Donnerstag, 5. August 2004 10:59 schrieb Corinna Vinschen:
> Have a look into the script, right at the end.  chown is only called
> if sshd has been installed as service.  Otherwise the script assumes
> that sshd is going to be run from some user account in a console
> window.  In that case, chown'ing to system wouldn't make much sense.
>
> Perhaps that's the problem.  People running the script and decide not
> to install sshd as service, but change their mind at some later point.

Well, for me it didn't work. Here's exactly what I do after a fresh Cygwin 
installation to get it running:

- setup ssh:
	- set environment variable CYGWIN to "ntsec tty" (Control Panel/
	System/Advanced/Environmental Variables)
	- call "ssh-host-config -y" in a cygwin window --> creates a user "sshd"
	- chown SYSTEM /etc/ssh_host_* /var/empty
	- net start sshd
	- try to login with "ssh localhost"

So for me it seems as sshd is installed as service but this last check somehow 
fails.

-- 
Mit freundlichen Grüßen,

Gernot Hillier
CT SE 2
Siemens AG, Mch P

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


