RE: sshd service on Win2003 not accepting connection

"Seng-Chuan Tan" <[email protected]> Wed, 20 Sep 2006 21:12:13 -0500
Newsgroups gmane.network.ssh.windows
Message-ID <87B3C01DAA932148A2FC9CF7B99B0F3701E7B45F@MEMEXCH10V.corp.ds.fedex.com>
Hi Mike,

I have the same observation as Wei that is trying sftp from localhost
from the server give the same error message. In addition, the event logs
show the following error messages:

sshd: PID 1884: error: fork: Resource temporarily unavailable

The cygwin installation has already added tcpip service in the
"DependOnService" key. I read some previous mails in this mailing list
that some guys has to add the last service group into the
"DependOnGroup" (or something like that I think) key to force Windows to
start sshd at the very last. However, strangely, the regedit/regedt32 on
the server does not show the REG_MUTLI_SZ value in a list but instead as
Hex values. So, I am not comfortable to make the changes.

Regards,
Seng Chuan
 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mike
Erdely
Sent: Wednesday, September 20, 2006 5:38 AM
To: [email protected]
Subject: Re: sshd service on Win2003 not accepting connection

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]


--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:[email protected]