From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.200.34]) by sourceware.org (Postfix) with ESMTPS id 2E34E389851C for ; Thu, 31 Mar 2022 15:24:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2E34E389851C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=house.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=house.org Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 8F1D18230C for ; Thu, 31 Mar 2022 15:24:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo02-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ovn8QdCVXdcR for ; Thu, 31 Mar 2022 15:24:53 +0000 (UTC) Received: from [192.168.32.4] (S0106244bfe767d79.gv.shawcable.net [24.108.58.76]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 419938230B for ; Thu, 31 Mar 2022 15:24:53 +0000 (UTC) Message-ID: Date: Thu, 31 Mar 2022 08:24:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: SSH connection from Linux to Windows by CYGSSHD: port 22 Content-Language: en-US To: cygwin@cygwin.com References: <114169113.20220331161839@yandex.ru> From: Chris Roehrig In-Reply-To: <114169113.20220331161839@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2022 15:24:58 -0000 I recently had to add the following lines to my Cygwin /etc/sshd_config to re-enable RSA in order for my older machines to connect: HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa -- Chris On 2022-03-31 06:18, Andrey Repin wrote: > 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. > >