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 To: cygwin AT cygwin DOT com From: Mark Bohlman Subject: Re: Problem starting sshd as a service Date: Thu, 05 Aug 2004 09:24:12 -0400 Lines: 38 Message-ID: References: <20040804123351 DOT 75534 DOT qmail AT web11703 DOT mail DOT yahoo DOT com> <200408051111 DOT 39618 DOT gernot DOT hillier AT siemens DOT com> <20040805092437 DOT GG24647 AT cygbert DOT vinschen DOT de> <200408051128 DOT 27393 DOT gernot DOT hillier AT siemens DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: exchange.tcicredit.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 In-Reply-To: <200408051128.27393.gernot.hillier@siemens.com> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-IsSubscribed: yes Gernot Hillier wrote: > Hi! > > Am Donnerstag, 5. August 2004 11:24 schrieb Corinna Vinschen: > >>>- setup ssh: >>> - set environment variable CYGWIN to "ntsec tty" (Control Panel/ >>> System/Advanced/Environmental Variables) >>> - call "ssh-host-config -y" in a cygwin window --> creates a user "sshd" >>> - chown SYSTEM /etc/ssh_host_* /var/empty >>> - net start sshd >>> - try to login with "ssh localhost" >>> >>>So for me it seems as sshd is installed as service but this last check >>>somehow fails. >> >>I'm sorry but that's not exactly helpful. I'd need a proof and at least >>a debug output of a script run. I'm also wondering sometimes why nobody >>tries to fix the bug (if there is one) instead of constantly working around >>it. It's just a shell script. It's not overly complicated, is it? > > > I'll try to do this as soon as I have something around an hour of spare time. > But I can't promise anything, sorry... :-( > I had similar problems in the past week on 3 machines, but did not look at the script. Have to admit that I read *very* little of the doc for setting up ssh however (my bad), and plugged away. Finding the eventvwr message about not getting to /var/empty and looking at that led me to the same solution on the chown SYSTEM invocation. All I had done, following a clean install was ssh-host-config (and ssh-user-config on one system trying to figure it out). At least a hint from the script that it is running without an installed service might be helpful (and yes I'll see if I can't find the time to make the mods as well). Keep up the good work! -- Mark -- 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/