delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/18/03:35:59

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.3.2 sourceware.org 13673383301D
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1608280501; bh=E/K5ED546Nj1U3+iX1a3HJ0jT4r0OUHY79hNZbvkD+w=;
h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To;
b=lBMMyvEQ1aCTIzZoTzBLvTmRU0uwKN/b2cafsNuX7LFbp9RpKfmYqJ+MByVcHLSnx
u7jutP1JJDJxDuo8sPKYzQt2+QLBwiEZFQT21fSHxwWGSbwYUknF8sjjB9QVYYLaGi
nFR67l18PY+idk53Ir7K7Xq7jBKqwNxvLB52HJFQ=
Authentication-Results: vla1-74593b5592df.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Fri, 18 Dec 2020 11:29:01 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <606504230.20201218112901@yandex.ru>
To: worsafe AT bellsouth DOT net, cygwin AT cygwin DOT com
Subject: Re: Cygwin sshd broken by seemingly trivial network change
In-Reply-To: <13d8e55e-bd07-24b7-628c-fa091f1c8401@bellsouth.net>
References: <13d8e55e-bd07-24b7-628c-fa091f1c8401 DOT ref AT bellsouth DOT net>
<13d8e55e-bd07-24b7-628c-fa091f1c8401 AT bellsouth DOT net>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, worsafe AT bellsouth DOT net!

> While installing a new router, I changed my local network from 
> 192.168.4.* to 192.168.50.*. This seems to have broken Cygwin sshd on 
> both of my remote computers, but only for Cygwin; sshd works fine if I 
> boot the remote computer from a linux thumb drive. I have noticed no 
> other problems with the new network configuration.
> --------
> ssh -vvv does not give any messages that look useful to me. 
> Authentication problems usually give some useful message, but this seems 
> to fail before getting that far:

> ssh -vvv $ASUS12
> OpenSSH_8.3p1, OpenSSL 1.1.1f 31 Mar 2020
> debug1: Reading configuration data /home/cdr/.ssh/config
> debug1: /home/cdr/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh_config
> debug2: resolve_canonicalize: hostname 192.168.50.105 is address
> debug2: ssh_connect_direct
> debug1: Connecting to 192.168.50.105 [192.168.50.105] port 22.
> debug1: connect to address 192.168.50.105 port 22: Connection timed out
> ssh: connect to host 192.168.50.105 port 22: Connection timed out
> -----------
> The server is running, as confirmed by cyrunsrv -Q sshd.
> /var/log/sshd.log is an empty file.
> -------
> nmap shows port 22 open on the remote server:
> nmap -p22 $ASUS12
> Nmap scan report for asus12 (192.168.50.105)
> Host is up (0.13s latency).
> PORT STATE SERVICE
> 22/tcp filtered ssh
> ----------
> However, telnet fails before returning the expected header string:
> telnet $ASUS12 22
> Connecting To 192.168.50.105...Could not open connection to the host, on 
> port 22
> : Connect failed
> (For comparison, linux returns the string "SSH-2.0-OpenSSH_7.9p1 
> Debian-10+deb10u2")
> -------
> I can't think what to try short of reinstalling sshd.

Re-cehck the windows firewall settings.
Manually open port 22 for incoming connections regardless of the app it is
using or any addresses.


-- 
With best regards,
Andrey Repin
Friday, December 18, 2020 11:28:10

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