Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
To: Daniel Steinmann <daniel.steinmann@insonic.com>, cygwin@cygwin.com
Date: Fri, 7 Sep 2001 22:15:33 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: /usr/doc/Cygwin/openssh-*.README
Reply-to: cygwin@cygwin.com
Message-ID: <3B994705.18775.119D8B98@localhost>
In-reply-to: <20010907190646.A1208@stonie.insonic.com>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001@t-dialin.net

Daniel Steinmann schrieb am 2001-09-07, 19:06:

Hi Daniel,

>Hi, I followed the instructions in /usr/doc/Cygwin/openssh-*.README
>to setup sshd on a freshly installed cygwin environment. After
>running ssh-host-config I could not start sshd. In the event log I
>saw "...: Not owner". 
>
>The reason for this was: I invoked ssh-host-config without setting
>CYGWIN=ntsec. Therefore the /etc/ssh-* files had wrong permissions.
>
>How about adding some more information in the README:
>
>$ diff openssh-2.9p2.README openssh-2.9p2.README.orig
>30c30
><    CYGWIN=ntsec /usr/bin/ssh-host-config
>---
>>    /usr/bin/ssh-host-config
>
That won't work, CYGWIN environment settings needs to be set
before starting a bash shell. 
First option:	as system wide env-variable
Second option:	in cygwin.bat, if it is used to call cygwin bash shell.
	That has no effect if you are calling rxvt direct to use cygwin,
	therefore it needs to be set as windows-system-wide env-setting.

Gerrit


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

