delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/24/04:51:28

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
MIME-Version: 1.0
Subject: RE: problems starting sshd - again
Date: Thu, 24 Mar 2005 11:52:05 +0200
Message-ID: <0C7AD907113E984F9C2AF0B651D0D3DE577224@exmid04.africa.enterprise.root>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Mike Kenny - BCX - Professional Services JHB" <Mike DOT Kenny AT bcx DOT co DOT za>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 24 Mar 2005 09:52:05.0577 (UTC) FILETIME=[22E6DB90:01C53057]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2O9pCDJ009783

> Mike Kenny - BCX - Professional Services JHB wrote:
> 
> > I know this has been on the list previously, but I have searched the
FAQ
> > and recent archives and cannot find the relevant references. I have
> > found some relating to permissions, but these don't address my
issue.
> > Anyway, my XP system died and I have had to re-install windoze. So
as
> > this was a fresh install I obtained a later version (1.5.12) of
cygwin
> > than the year or so old version I had. I had sshd working with the
older
> > version of cygwin but I do not want to regress that version. The new
> > version of cygwin installed fine, I then executed
> 
> You should read /usr/share/doc/Cygwin/openssh.README for details on
> sshd.  You will find the following passage:
> 
> If you start sshd as deamon via cygrunsrv.exe you MUST give the
> "-D" option to sshd. Otherwise the service can't get started at all.
> 
> > $ ssh-host-config
> > I responded 'yes' whenever prompted (later I tried without privilege
> > separation with the same result)
> > $ cygrunsrv -I sshd -p /usr/sbin/sshd.exe
> 
> You should let ssh-host-config install the service.  Your install
> command above is wrong, you need "-a -D" to pass -D to sshd.
> ssh-host-config ought to take care of everything for you if you let
it.
> 

[mikek] Brian, thanks for this. Executing ssh-host-config -y followed by
cygrunsrv -S sshd worked perfectly. The only difference I detected to
what
I had been doing was that it now queried me about ntsec.

Anyway working now, thanks.

Mike

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