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 Message-ID: <3A939181.972AFB4B@coldstone.com> Date: Wed, 21 Feb 2001 01:59:29 -0800 From: Alberto Begliomini X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i586) X-Accept-Language: en MIME-Version: 1.0 To: Corinna Vinschen Subject: Re: sshd connection refused References: <3A9222D1 DOT C9910D2E AT coldstone DOT com> <20010220091124 DOT O908 AT cygbert DOT vinschen DOT de> <3A9240E0 DOT E438741D AT coldstone DOT com> <20010220183039 DOT A908 AT cygbert DOT vinschen DOT de> <3A92BFF7 DOT 52A94034 AT coldstone DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found a solution, but not an explanation. sshd does not as system, but it does run as administrator. Changing the ownership of the host keys to administrator and running the service as administrator made it work. I then tried to go back, I changed the ownership of the host key files back to system and ran the service as system and still did not work. Very odd. Alberto Alberto Begliomini wrote: > > Yes, I looked at the even log. Here is one of the messages: > > The description for Event ID ( 0 ) in Source ( sshd ) could not be found. It > contains the following insertion string(s): sshd : Win32 Process Id = 0x47 : > Cygwin Process Id = 0x47 : Server listening on 0.0.0.0 port 22.. > > Shouldn't sshd.exe running at this point and appears in the process list? > > Alberto > > Corinna Vinschen wrote: > > > > On Tue, Feb 20, 2001 at 02:03:12AM -0800, Alberto Begliomini wrote: > > > > Read /usr/doc/Cygwin/openssh-2.3.0p1.README especially the part > > > > about permission bits and ownership of files. > > > > > > Unfortunately I did that already. ntsec is enable, the private and public host > > > keys belong to SYSTEM, and the private host keys have permission 0600. Still > > > sshd does not show up in the task manager list of processes. > > > > Did you look into the event log? This might give a clue. > > > > Corinna > > > > -- > > Corinna Vinschen Please, send mails regarding Cygwin to > > Cygwin Developer mailto:cygwin AT cygwin DOT com > > Red Hat, Inc. > > > > -- > > Want to unsubscribe from this list? > > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple