Re: sshd service on Win2003 not accepting connection

From: Mike Erdely <mike_at_**********.***>
Date: Tue Sep 19 2006 - 17:37:54 EDT

Wei Wang wrote:
> I have the same problem on WIndows XP. I run sshd on a Windows XP Pro
> desktop machine. When the problem happens, "ssh localhost" gives the
> same error message. After restarting sshd, both remote and local ssh
> connection would work.

You can make a service depend on another server by opening REGEDIT to
the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd
Add a REG_MULTI_SZ value named "DependOnService" and set it to "tcpip"

Then sshd won't start until the TCPIP service starts.

> I thought it may have something to do with the order of various
> services being started. For example, sshd may nneed to be started
> after the firewall, or something like that. But I haven't have much
> time to chase the this down.
>
> Regards,
>
> Wei

-ME

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Tue Sep 19 17:38:05 2006

This archive was generated by hypermail 2.1.8 : Tue Sep 19 2006 - 17:38:06 EDT