This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: SSHD not connecting from outside(real) IP

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 BUT, when using my
> external IP(over internet->real IP) it times out.
> I can validate that the service is up and running on
> 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

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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]