From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward503p.mail.yandex.net (forward503p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:122]) by sourceware.org (Postfix) with ESMTPS id 3F2A73858D3C for ; Mon, 28 Nov 2022 09:20:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3F2A73858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from vla1-b7b6154c4cfd.qloud-c.yandex.net (vla1-b7b6154c4cfd.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:3495:0:640:b7b6:154c]) by forward503p.mail.yandex.net (Yandex) with ESMTP id 4C5F41101218; Mon, 28 Nov 2022 12:20:02 +0300 (MSK) Received: by vla1-b7b6154c4cfd.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 0KLVLAYVnSw1-ecH8Uaes; Mon, 28 Nov 2022 12:20:00 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1669627200; bh=SDCiRonuyoG1UHhZeXMVktJ+hnoHH+aEwPef3NCZsXQ=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=v2/ksmugCDX8AOEycvchcng1l+QEOtajOF2jqScdbPUCc9+tMr9h9rUuWGh2c5SDI klgKRj+asKAwviqdE1Nym9tZBNOkNQ6dyTArzD/XFmN20pjbhC8NhoYODWcJa2TFfB JVElOo2i8YrNug9OEYPL9NMzQfW7JEsw1q0hyAbQ= Authentication-Results: vla1-b7b6154c4cfd.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 28 Nov 2022 09:16:01 -0000 Date: Mon, 28 Nov 2022 12:16:00 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1586353679.20221128121600@yandex.ru> To: Harry Putnam , cygwin@cygwin.com Subject: Re: How does one discover a ghost path to non-exitent server In-Reply-To: <87r0xnc3rt.fsf@local.lan> References: <87r0xnc3rt.fsf@local.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, Harry Putnam! > I'm sure there has been plenty of pounding over time about not being > able to get a sshd server working on win 10 That was years ago, when M$ had introduced SSH server of their own into Windows10 Pro+ editions. > Running latest cygwin on win 10 I go thru the steps that begin with > ssh-host-config -y > I'm told at the end the server wasn't installed because there already > is one. > Neither "cygrunsrv -S" nor "net start" know anything about it. >> $ sc query | grep -i ssh ? > In an old post from this groups I found mention of there being a problem > where previous attempts to install sshd server may have left the path > but not the server. > Not really sure what the heck that might mean. Something like a cygwin > install of ssh and sshd server scouts around somewhere and finds a > path but no server and says OK, good to go. You have the server. It may have left a record in the system's services list, but no actual binary was left on the disk. Or it was an old Cygwin versions that stumbled upon modern Windows and tripped over standard SSH service name. > It sounds kind of silly on the surface but I guess it is, in fact, a > real problem. > Cutting to the chase, can anyone tell me what can be done about such a > problem? How can one find and erase a path that has no sshd at the > end. > Maybe I'm just misunderstanding things a bit. 1. Make sure you are using updated 64-bit Cygwin install. 2. Check if there's no Cygwin sshd services installed (name is cygsshd). 3. Try again with `ssh-host-config`. 4. Provide logs of the command and `cygcheck -svr` if it fails again. (gzip the cygcheck output, the list often rejects emails that are too big) -- With best regards, Andrey Repin Monday, November 28, 2022 11:58:02 Sorry for my terrible english...