This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd must be restarted
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 06 Jan 2006 04:55:26 -0800
- Subject: Re: sshd must be restarted
- References: <twig.1136549779.12934@juno.nrl.navy.mil>
- Reply-to: cygwin at cygwin dot com
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
--
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/