X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <474F2F86.9010303@cygwin.com> Date: Thu, 29 Nov 2007 16:30:46 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems Starting sshd as a service through CYGWIN References: <474F0D22 DOT 1010806 AT wbemsolutions DOT com> <474F1C73 DOT 9010805 AT warnerbros DOT com> In-Reply-To: <474F1C73.9010805@warnerbros.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 11/29/2007, Kyle Flavin wrote: > I am having trouble starting sshd as a Window's service. I've looked over > the mailing list archives, but have been unable to find a resolution to my > problem. I apologize for the length of this email, but I tried to include > all pertinent information. I have attached the output of cygcheck -s -v > -r. You sure you're not just suffering from some form of ? Of some concern is the fact that you have another installation of some like tools including, apparently, 'ssh'. I don't see these interfering based on the information you sent but.... Also, your attempts to research and solve this problem are admirable and commendable but you may have taken it a little too far. You mentioned that you can 'sshd' from the command line, though you don't mention the user you are when you run it that way. If you didn't do this from a SYSTEM-owned shell the first time you tried it, you may very well have prohibited yourself from getting this to work for you as a service easily. You may want to consider wiping your installation again and reinstalling. The problem is that permissions on some files get set specifically for the user running of 'sshd' and running it as another user isn't an option. Now it is possible to run around to all the needed files/directories and reset the permissions back to what's needed but that's allot of work and is error prone. Also, given the changes you've tried so far relative to granting/restricting certain permissions, this compounds the problem. So there are a few things to mull over. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/