www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/06/14:07:50

X-Spam-Check-By: sourceware.org
Date: Fri, 6 Jan 2006 14:07:33 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: sshd must be restarted
In-Reply-To: <43BE6B82.7010106@equate.dyndns.org>
Message-ID: <Pine.GSO.4.63.0601061406080.12631@slinky.cs.nyu.edu>
References: <twig DOT 1136549779 DOT 12934 AT juno DOT nrl DOT navy DOT mil> <43BE68BE DOT 8C82EFE AT dessent DOT net> <43BE6B82 DOT 7010106 AT equate DOT dyndns DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, 6 Jan 2006, Chris Taylor wrote:

> Brian Dessent wrote:
> > Ken Senior wrote:
> >
> > > Does anyone know why after a Windows XP reboot one must restart the
> > > SSH daemon in order to allow incoming ssh?  The process is
> > > automatically running after a reboot but all incoming SSH from
> > > remote clients are terminated with the following message being
> > > displayed on the remote client:
> > >
> > > ssh_exchange_identification: Connection closed by remote host
> > >
> > > Restarting the daemon, either in Windows services or on the bash
> > > command line, fixes the problem allowing in ssh traffic once again.
> > > ??
> >
> > You should check the Event Log on the host machine, since any errors
> > would be displayed there.
> >
> > What it sounds like is that the service is starting before some other
> > required networking component has started.  As part of the XP bootup
> > time optimizations a lot of stuff is launched in parallel.  You might
> > try setting 'tcpip' as a startup dependency of the sshd service to see
> > if it fixes things.
>
> That's a good point. A very good point.
> Should have thought of that really.. Especially as it works fine after a
> restart - though the changing homedir is also an issue to do with the
> setup here.
>
> So yes, try this first Ken. It should help/fix the issues wrt ssh not
> working initially..
>
> I wonder if it would be worth having ssh-host-config set tcpip as a
> dependancy for sshd on all systems? While this doesn't seem to have
> cropped up much, specifically, it couldn't hurt..

This has been discussed before, see
<http://cygwin.com/ml/cygwin/2005-12/msg00089.html>.  I guess it's the
case of <http://cygwin.com/acronyms/#SHTDI> and
<http://cygwin.com/acronyms/#PTC>.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


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