X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.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
Content-Language: en-US
To: cygwin@cygwin.com
References: <8207721e-0b0d-2314-6038-c430e1758e53@raelity.com>
 <a267fb96-4f61-65d0-846a-9f55acd59ecb@maxrnd.com>
 <a6282714-ab39-9f64-a099-e2d7d3d1bb28@raelity.com>
 <553466060.20220214095624@yandex.ru>
From: Ernie Rael <err@raelity.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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.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
