delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/05/19:21:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Benn Schreiber" <bls AT starwhite DOT net>
To: <cygwin AT cygwin DOT com>
Subject: SSHD startup problem and suggested fix
Date: Tue, 5 Feb 2002 16:20:19 -0800
Message-ID: <000001c1aea4$0fdf3340$18762c0c@starwhite.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

I had problems with sshd not starting up reliably as a service, after I
installing cygwin on a new system.  I found that it was sometimes trying
to start before the network was started, and didn't fare too well.

So, I did a cygrunsrv --remove sshd

and then did 

cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -y "Browser" -a
"-D" -e "CYGWIN=binmode ntsec tty"

This makes the sshd service dependent on the browser, which is dependent
on the network being up.  Works great now!

Benn Schreiber



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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