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: <4356CD2B.9000801@equate.dyndns.org> Date: Wed, 19 Oct 2005 23:48:11 +0100 From: Chris Taylor User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sshd refuses ssh connections References: <435684E8 DOT 4040800 AT equate DOT dyndns DOT org> <43569987 DOT 7050104 AT equate DOT dyndns DOT org> <4356C583 DOT 4719DB71 AT dessent DOT net> <4356C85C DOT 130BF479 AT dessent DOT net> In-Reply-To: <4356C85C.130BF479@dessent.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Brian Dessent wrote: > Brian Dessent wrote: > > >>No, it's a red herring. The host keys should be readable only by the >>process that runs sshd. This must be SYSTEM in order for impersonation >>to work. Thus they should be readable only by SYSTEM, and that is how >>ssh-host-config sets things up, correctly. So if you try to run sshd as >>your normal user account, it will not work. That's why it's a bad idea >>to mess around with running sshd from a regular prompt, because you will >>run into all kinds of permissions/ownership issues unless you know >>precisely what you're doing. > > > The footnote to this is that if you obtain a shell as the SYSTEM user, > you can run sshd from a prompt in debugging mode without any issues. > There is a script somewhere in the mailing list archives, I think it's > called "sysbash", that achieves this. > > Brian > Whoops. Actually forgot about this caveat until René mentioned something along these lines.. Too long dealing with linux, where things work sensibly.. Sorry about that folks. ~hides~ -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to go? -- 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/