Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Buadhai

macrumors 65816
Original poster
Jan 15, 2018
1,201
453
Korat, Thailand
I have a couple of Raspberry Pies at a condo that I visit for only a few days per month. Years ago I set up reverse SSH tunnels on those Pies connecting to the Intel iMac at my home. This has always worked fine until now. Running this on a Pi used to always work:

Code:
ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R 199xx:localhost:22 mnewman@xxxxx.myddns.xxxxx -p 10005
ssh: connect to host xxxxx.myddns.xxxxx port 10005: Network is unreachable

But, the network is just fine:

Code:
pi@raspcondo:~/webcam $ ping google.com
PING google.com (64.233.170.100) 56(84) bytes of data.
64 bytes from sg-in-f100.1e100.net (64.233.170.100): icmp_seq=1 ttl=102 time=34.0 ms

I can still remotely log on to the Pies via shellhub, which works but which is slow. When I'm logged on to a Pi I have always been able to log back in to the iMac at home. But now:

Code:
pi@raspcondo:~/webcam $ ssh -p 10005 mnewman@xxxxx.myddns.xxxxx
ssh: connect to host xxxxx.myddns.xxxxx port 10005: Network is unreachable

But, as above, the network is just fine:

he router is still correctly configured to forward port 10005 to port 22 on the iMac.

I tried logging on the Mac from an iPad while on public wifi, which always used to work, but now it just hangs there with no error message.

So, something wrong with, what? The Mac? The router?

Where do I go from here?
 
  • Like
Reactions: maflynn
Do you have access to any AI, like ChatGPT or Grok? They solve these problems easily. Unfortunately, we aren't allowed to post AI results for you. But the "unreachable" error typically points to a routing, DNS resolution, or IP accessibility problem specific to your home DDNS host, while the hanging from the iPad suggests a possible timeout (e.g., port filtered, no response from the server, or partial connectivity).
 
I deleted the OP because it turns out it was because SSH login with password is now disabled by default. When I added the -i (identity file location) parameter it works fine and no password is required. I am updating my ssh config files accordingly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.