Re: sshd service on Win2003 not accepting connection

Mike Erdely <[email protected]> Tue, 19 Sep 2006 17:37:54 -0400
Newsgroups gmane.network.ssh.windows
Message-ID <[email protected]>
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:[email protected]