I am having trouble getting SSH to work. I am using a non-standard port (9876). I verified my server's IP address both by using an external whatismyip type site, and by using
curl ifconfig.me, both give the same result.
If I do this from the server:
ssh -p 9876 localhost
If I do this:
ssh -p 9876 127.0.0.1
it also works.
But, if I do this:
ssh -p 9876 184.108.40.206
I get the error "Connection refused". (Note that the example ip given above is changed from the real address.) If I try to connect from a remote machine on a different network I get the error "network is unreachable", even though I can ping it from the same remote machine.
The only reason I can think for this behavior is that COMCAST is looking inside the packet, seeing that it is an inbound SSH attempt and then automatically impersonating a server refusing the request. Is this what is happening? Are there alternative explanations?
Note that I can ping the address in question, so if I can ping it, then it is "reachable" right? How is it, that it is reachable to ping and not to ssh or telnet?