delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/31/09:20:44

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 14F633857C50
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
X-Yandex-Fwd: 2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1648732801; bh=Q8QRIQaSRFf37/6RC5FDVoNSPEeOrG+jtf49Au893cM=;
h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To;
b=gy8REDJ/k24LjSNKimSJ/2YU8Xyot1ZB2gWQJASOgadYPMx0RT3bcMUiKTxhNy0W1
4p2soW3P++91RBJX9vYysam8w4XiWPHYJQ5MKC9wY0s+M9mkTqGaC1mxuH/RbX3QI6
GeBNk5+b5vJ8mUfV6AGGPpp+5TniB49UJWXUDzD0=
Authentication-Results: sas1-de9e0dd89469.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Thu, 31 Mar 2022 16:18:39 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <114169113.20220331161839@yandex.ru>
To: Greco Giovanni <Giovanni DOT Greco AT blueit DOT it>, cygwin AT cygwin DOT com
Subject: Re: SSH connection from Linux to Windows by CYGSSHD: port 22
In-Reply-To: <AM9PR04MB8748489350878A860F10700B871F9@AM9PR04MB8748.eurprd04.prod.outlook.com>
References: <AM9PR04MB8748489350878A860F10700B871F9 AT AM9PR04MB8748 DOT eurprd04 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
KAM_THEBAT, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4
X-Spam-Level: *
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>
Reply-To: cygwin AT cygwin DOT com
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>

Greetings, Greco Giovanni!

> must port 22 on Windows server be enabled in a bidirectional way to
> establish a connection with RSA key exchange?
> I have a Linux server on a vlan and a Windows server on another vlan, those
> vlans are connected thru a firewall, where port 22 is enabled from Linux
> server to Windows server unidirectionally.
> Connection with user and password works, but not with RSA key exchange: is
> the problem located on port 22 unidirectional enabling?

No, it is most likely because you are connecting to Microsoft provided
OpenSSH.
`netstat -aon` and `ps ax` will tell you more.


-- 
With best regards,
Andrey Repin
Thursday, March 31, 2022 16:16:07

Sorry for my terrible english...


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