delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/29/17:32:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <474F3DA3.8040008@warnerbros.com>
Date: Thu, 29 Nov 2007 14:30:59 -0800
From: Kyle Flavin <Kyle DOT Flavin AT warnerbros DOT com>
User-Agent: Thunderbird 1.5.0.12 (X11/20071020)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems Starting sshd as a service through CYGWIN
References: <F5114451B5F49649A9337243D4F8E46908846FA0 AT THHS2EXBE1X DOT hostedserv ice2.net> <474F0D22 DOT 1010806 AT wbemsolutions DOT com> <474F1C73 DOT 9010805 AT warnerbros DOT com> <474F2F86 DOT 9010303 AT cygwin DOT com>
In-Reply-To: <474F2F86.9010303@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Whoops, ignore the last email, I accidentally must have hit a send 
hotkey, because I fired it off before I had finished typing.  Sorry.

I have changed a lot, so I'll probably go back and start fresh one more 
time.  The first time I ran sshd, I did not run it from a system-owned 
shell; I ran it as Administrator, so perhaps that has something to do 
with my problem.  I'll give it another try.  Thanks for the feedback.

Larry Hall (Cygwin) wrote:
> 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. 
>
> <snip>
>
> You sure you're not just suffering from some form of
> <http://cygwin.com/acronyms/#BLODA>?
>
> 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. ;-)
>


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019