X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:subject:from:to:message-id:date; q=
	dns; s=default; b=oxeeEUOoYyCwk7ORPfaJtKsTaOMLoFE9ZmTQqXIeYsCOwZ
	OTZIz9RlqyZzYtOxRSrTE4zXuf1FSzxguEw644KcAFqShkCC+VSQivNFkKDFHFK4
	+UyNik4xxOB8Z2WXw1nG3NXM8jidb9u3/BKcbv+m/VGdIXKPMbfJnPkhISoYU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:subject:from:to:message-id:date; s=
	default; bh=aNYh5pbVZmPxCKPz+4e7U5pUA7M=; b=l4GU1nuwGMxqgOZ3i0LD
	HppPBZVzLA/sylTsnfmLKRXYbI0F26WVx7qiA3D55nJUhAwRsVIwUNVey36C70YL
	XH/IVrukTcY7wqlDR2drRjGBM9JUeWKkwpXfgCXZIv6zJkIoYEH+EAo2pAVojnsM
	0o6oeRxhaz75k1f1EKJY5Vc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=ham version=3.3.2
X-HELO: dd12814.kasserver.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SenderIP: 217.110.97.122
User-Agent: ALL-INKL Webmail 2.11
Subject: Cygrunsrv starts sshd twice after disconnect (1.7.25 i686 WinXP)
From: "Alexander Kriegisch" <alexander@kriegisch.name>
To: cygwin@cygwin.com
Message-Id: <20131218103601.B2E3511C13AE@dd12814.kasserver.com>
Date: Wed, 18 Dec 2013 11:36:01 +0100 (CET)
X-IsSubscribed: yes

I have sshd running as a Windows service, installed via cygrunsrv. It basically works fine, but once a day (maybe after DSL reconnect) when I try to re-open my connection to the PC, I notice that some reverse tunnels cannot be established. Upon further investigation I have found that two sshd.exe processes are running, one of which can be stopped via the Windows Services dialog, but the other one is still running, blocking the ports which my reverse tunnels should use as listening ports on the Windows machine.

The registry says that sshd is started with -D option as is to be expected. So everything seems fine. Can somebody tell me why to sshd processes are running? If I kill the zombie one, the Windows service works as sxpected and I can establish my reverse tunnels again.
-- 
Alexander Kriegisch


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

