Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: Daniel Steinmann , cygwin AT cygwin DOT 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 AT cygwin DOT 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 AT t-dialin DOT 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/