delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/18/05:36:23

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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
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 AT kriegisch DOT name>
To: cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019