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 Message-ID: <424276A6.185439A0@dessent.net> Date: Thu, 24 Mar 2005 00:13:26 -0800 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problems starting sshd - again References: <0C7AD907113E984F9C2AF0B651D0D3DE577223 AT exmid04 DOT africa DOT enterprise DOT root> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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. Brian -- 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/