delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/04/18:12:51

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=QxZYgt499QIpPTM4Pe9Qlsiin4zP3C
6jkHecpKYBNg81lPQLHOaQXbLPmjlLrETB7u+YQhHCj+/bJXdSwhbmeyl4I3PsAm
GpvjYTlCbE+6/UkwCZ6JDQLgVKUvTph8njxtP+UgnkOsqIkbvyeXTqnLeYHhd+OY
VSJtplVT0EfNw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=j2eTX4iYviDqq7cNFGdKEMzYASo=; b=RALN
mK3ahFWoUUBhTacY6mbpGftCpf94aMTJccXGraNnT2xp2bLgvKWtsCv0pXds+kw8
tres/21t+h1i/fPqQWPjELJ0ReL87NLCMEkIgfJu1MU1fHtWWM5d1oypXCnzxNAK
slV9aFBxDwdU3Bnx9WsOAzXD5cb/qSvaPorKt+c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=alternatives, H*MI:sk:568AD08, ideal, jo=e3o?=
X-HELO: mail-wm0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+Yd7GRtAwNIIJRCbm/C++/0TFhPj1GrQyMtcI8eiOFk=; b=RoUthrnVOx88EBxlMOF3xfQ6rLitl3OHb5Qa/OOwAixmrcyZBEcQvnWXMbnxCO1CtM yYl0zQq/64HfKvrFL6OxM9YEJ3vR0m47VqvINUR8oK1FG+sdu39D8+UHLH1bpZu5F2mP xjvaK/dmJK9J2Nnw/0cH3s6nJamxc2ZAbPf6lCqrptTQpueUJu4gBMPQYuObkn+RfGv2 stmd1XpVEWU2/EtMoz1vaHaCYHoR8AwbE0qRADJUu9Bik/NvcrbYUpdnz5G90dRqGwvO o68nuCpB7Sq2IUSZe7+dzBk9LyowE5dVV2fboAhhLZWtRnodJubYNW/ssQxCsm60kWM8 PZGg==
X-Gm-Message-State: ALoCoQlXK7xyIwu8JblJzTsxo8sCdAfnn0Z4ojjyYLZHJlS8X24b6sWWL88pc336Rq5BBT1voQmq1XpZJzkeeF6nm93p3fCsZA==
X-Received: by 10.28.126.77 with SMTP id z74mr859284wmc.3.1451949149647; Mon, 04 Jan 2016 15:12:29 -0800 (PST)
Date: Mon, 4 Jan 2016 23:12:26 +0000
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Fwd: SSHD not connecting from outside(real) IP
Message-ID: <20160104231226.GP14466@dinwoodie.org>
References: <568AA766 DOT 7010101 AT gmail DOT com> <568AD08C DOT 6080204 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <568AD08C.6080204@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Mon, Jan 04, 2016 at 06:05:32PM -0200, Joćo Paulo wrote:
> Hello all,
> I have a mystery and I need help. I have openssh(Cygwin) installed
> and working just fine in here.
> I can connect normally from any of my machines to the server using
> local IPs. Ex: ssh localhost or ssh 192.168.0.2. BUT, when using my
> external IP(over internet->real IP) it times out.
> I can validate that the service is up and running on
> http://www.canyouseeme.org/ on the port FW I did for this service.
> Port 22 is correctly FW to my SSHD server. On windows, I can only
> see an entry on Security Events(attached) and nothing else after
> that. (Means it is reaching my machine)
> I have tried to reinstall Cygwin, change ports. sshd_config is in
> default, disable firewall, AV. I ran out of ideas......
> I had this working fine on previous window 7, now I am on Windows 10.
> Thanks.

To check I'm understanding you correctly: you're using Cygwin on your
Windows 10 machine to run an sshd service, you're attempting to connect
to this using SSH from another machine, this works when the other
machine is within your local network but not when the other machine is
external.

If that's the case, I think it's very unlikely that Cygwin is the
problem  -- if Cygwin were the problem, I would expect connections to
fail on your local network too.  To check that, can you run a packet
capture on the system running Cygwin sshd while you attempt to connect?
I expect it will show no received packets, which means the problem lies
elsewhere in your network.

For packet capture I normally use Wireshark, but alternatives are
available (doing it on your router would be ideal if it supports that).

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019