delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/29/18:55:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0D86C3858D3C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=newsguy.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Harry Putnam <reader AT newsguy DOT com>
Subject: Re: How does one discover a ghost path to non-exitent server
Date: Tue, 29 Nov 2022 18:54:49 -0500
Organization: Still searching...
Message-ID: <87k03d71va.fsf@local.lan>
References: <87r0xnc3rt DOT fsf AT local DOT lan> <1586353679 DOT 20221128121600 AT yandex DOT ru>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cancel-Lock: sha1:1ksjYTAlllvPULd8fW0VVvH04yU=
X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, 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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Andrey Repin <anrdaemon AT yandex DOT ru> writes:

> 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.

There is nothing in this post regarding windows own introduction of
using openssh for a server.  So, I'm not sure what your comment means there.


>> 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)

Thank you sir for the excellent input.  I left the bulk of the post in
tact in case other seachers may stumble into it.

I'm pretty sure your help would have saved the day but as it happens.

I haven't really done a thing toward fixing it, yet when I looked at
the list of windows services again I spotted the service right away,
its on and working.

I think just on the strength of your help and participation the
heebjeebs who were meddling with things cleared out.

Thanks


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

- Raw text -


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