Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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" To: X-OriginalArrivalTime: 24 Mar 2005 09:52:05.0577 (UTC) FILETIME=[22E6DB90:01C53057] X-IsSubscribed: yes Content-Transfer-Encoding: 8bit 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/