SSH problem on macOS 15.6.1

Soldato
Joined
1 Nov 2007
Posts
7,228
Location
England
I normally use SSH quite often and have never had a problem until recently. Now when I try and SSH into a server it just hangs and will eventually time out. This occurs when accessing devices on the local network (RPi running PiHole) and on servers run by Linode and probably others as well. Does anyone have any ideas of what is going on? Even when I specify -vvv there isn't much information other than it hangs. Not sure what else to try.
 
I recently updated to 15.6.1 and am not experiencing this issue.

Which terminal emulator are you using? Tried another?

Disabled private relay?

Other ports like 443 and services locally available otherwise?
 
I recently updated to 15.6.1 and am not experiencing this issue.

Which terminal emulator are you using? Tried another?

Disabled private relay?

Other ports like 443 and services locally available otherwise?
I use iTerm2 as the Terminal app. The same problem happens on the Apple Terminal app. I don't use Private Relay. The server is up and running and accepting WebDAV and HTTPS connections.

Thanks for the reply.
 
You could try nmap to see what ports are available.

At this point I’d be checking the firewall hasn’t changed as well. If you have one on the clients or router.
 
You could try nmap to see what ports are available.

At this point I’d be checking the firewall hasn’t changed as well. If you have one on the clients or router.
Thank you again. I'll have a play around tomorrow morning when I have a bit more free time and check those things out.
 
I did some more searching and it actually looks like a really common and persistent issue with MacOS. Some other options:

- Try different ssh cipher
- Try Ethernet or with/without any docks
- Disable MacOS firewall and try again

On this basis, I would also try another machine or client (even a phone can ssh with certain apps - I use terminus on iOS). This may isolate the issue to the Mac at least.
 
Well I did a little testing and SSH works perfectly in a virtual machine running RHEL 10 so it is not a problem with the server. The same problem happens on my MBA though so something is being weird in macOS. I think I'll wait til macOS 26 comes out tomorrow to see if that fixes it before I spend a load of time trying to fix the issue.

Thank you for your help. I appreciate it.
 
Sounds like a plan. Fingers crossed.

I unfortunately can’t test 26 until OCLP is ready as my MacBook is a mid-2014.
 
Hmm. There is an OpenSSH package in homebrew but not sure how that works. I assume it just places itself higher up in the PATH and therefore it will use the homebrew package by default. I might have to try that out.
 
Back
Top Bottom