Saturday, November 23, 2024

network – How can I troubleshoot and fix an SSH “connection corrupted” issue on a work managed Mac after upgrade to macOS Sequoia?

Does anyone have a fix or troubleshooting advice for ssh instability on macOS Sequoia 15.0.1?

On Monday my work laptop got updated to Sequoia and my previously stable ssh connection is now very unstable.

In addition, I experience several new annoyances:

  • Dock stuck to primary monitor.
  • Dock doesn’t follow focus change.
  • Finder and app dialogs don’t work with Command+Shift+G to navigate directly to a Posix path (e.g. browsing to /usr/local).
  • Outgoing SSH sessions get randomly torn down.

My issue that needs solving is ssh connections dropping due to reported network corruption.

tink@server1:~$ Bad packet length 1984141761.
ssh_dispatch_run_fatal: Connection to x.y.z.7 port 22: Connection corrupted
tink@m1:~ $ echo 1984141761/1024/1024| bc
1892

This is not a great experience for a Linux sysadmin spending large parts of their working day in terminal sessions to other machines, be it for maintenance or coding. Particularly grating when you get kicked off mid-word.

Research on Reddit suggested adding the SSH executable to the firewall setup, but this isn’t a fix (makes no difference) for me.

No, there were no changes to the network or my setup other than upgrading from Sonoma to 15.01. Corporate software includes Intune MDM management, MS Defender and huntress.

Related Articles

Latest Articles