X-Spam-Check-By: sourceware.org Message-ID: <43BE6B82.7010106@equate.dyndns.org> Date: Fri, 06 Jan 2006 13:07:14 +0000 From: Chris Taylor Reply-To: cygwin AT cygwin DOT com User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sshd must be restarted References: <43BE68BE DOT 8C82EFE AT dessent DOT net> In-Reply-To: <43BE68BE.8C82EFE@dessent.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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. > > Brian > 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.. Chris -- Spinning complacently in the darkness, covered and blinded by a blanket of little lives, false security has lulled the madness of this world into a slumber. Wake up! An eye is upon you, staring straight down and keenly through, seeing all that you are and everything that you will never be. Yes, an eye is upon you, an eye ready to blink. So face forward, with arms wide open and mind reeling. Your future has arrived... Are you ready to go? -- 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/