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 Delivered-To: mailing list cygwin AT cygwin DOT com From: "Benn Schreiber" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/