delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/14/02:42:42

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 9D23C385840A
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=raelity.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=raelity.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=comcastmailservice.net; s=20211018a; t=1644824539;
bh=fGTuCE+fjtClFiYMO/Zf1/vQj+Vt4dpWQmRa6b/Bh+Q=;
h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From:
Content-Type;
b=t6OTW5cccRnCHQomVAM+H+YCBwNUGc1C1kiX9yFLICRNfWzOgG7/gDxYRtWZ2RE9/
rFgV3Y5vgxXlNT9Xzj3U04CI1Jn3FVatvi8ckCAZU5v3ePW6mKC4zmxn7hUQh7J/6c
8IdoPRCdm4Tc4DrX75sDTvg+r4MiYbPjLr4E2vuT+X5wsxUGOAl6oCXl6KPqdP/rzb
XKOvpbohssLJCr6ZB2X8MFLlhXVncBQFNZ9USXiAZsXAGXbkI7M0KXdqDMYj3X4HcK
trZ6xqx/Wj2gbzh7VCdkLpYfUoVXew6VcBswNK/ahw0w9OlH9xw4Z4a9fjj1rchMjx
HRE5GWSEGl9Fw==
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvvddrjedugddutdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefgrhhnihgvucftrggvlhcuoegvrhhrsehrrggvlhhithihrdgtohhmqeenucggtffrrghtthgvrhhnpeeljeeghfeigeetueduteegffegheduhedtkefftdduffekhfejffehgfdtjeetjeenucfkphepudejgedriedvrdduvdegrddvvdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddvtdgnpdhinhgvthepudejgedriedvrdduvdegrddvvdehpdhmrghilhhfrhhomhepvghrrhesrhgrvghlihhthidrtghomhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm
X-Xfinity-VMeta: sc=0.00;st=legit
Message-ID: <c99449ed-0e4c-2fb8-6510-f0fd893c6050@raelity.com>
Date: Sun, 13 Feb 2022 23:42:17 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: sshd
To: cygwin AT cygwin DOT com
References: <8207721e-0b0d-2314-6038-c430e1758e53 AT raelity DOT com>
<a267fb96-4f61-65d0-846a-9f55acd59ecb AT maxrnd DOT com>
<a6282714-ab39-9f64-a099-e2d7d3d1bb28 AT raelity DOT com>
<553466060 DOT 20220214095624 AT yandex DOT ru>
From: Ernie Rael <err AT raelity DOT com>
In-Reply-To: <553466060.20220214095624@yandex.ru>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2/13/22 10:56 PM, Andrey Repin wrote:
> Greetings, Ernie Rael!
>
> ...
> Open Windows Firewall (cygstart WF.msc), find all your sshd rules and trash
> them. Manually create (or tweak Windows sshd one) a single rule for port
> rather than executable.
> Additionally, to resolve conflicts with stock sshd, create a file
> %ProgramData%\ssh\sshd_config with single line `Port 2022` (for example).
>
>
Bingo. Many thanks.

I'd never opened the Windows Firewall before (IIRC), I didn't get the 
other references, looking around I ran into some windows defender thing, 
that said it had never run before, so I ignored it and figured it wasn't 
the firewall. I didn't realize the firewall was so pervasive.

Anyway, I found some sshd rules that referenced "C:/cygwin64/..." and a 
few years back I'd reinstalled cygwin on F: to get it off of C:, but the 
rules were never updated. So change "C" to "F" in a couple spots and now 
it connects.

Thanks again,
-ernie

PS Now I can track down why rsync asks for a passwd but ssh doesn't :-)



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