Search Docs by Keyword
MacOS Sequoia SSH ‘corrupted’ bug
October 2024: This doc addresses a current issue on the new MacOS Sequoia. This should be fixed in a future update and should not be considered current information for MacOS versions beyond 15.0.1
DISCLAIMER: The following information is meant as a courtesy to help cluster users who are experiencing this issue and it is impacting their work. You should decide if you wish to make these changes at your own risk or wait for Apple to push out a fix. |
If you manage your own Mac (HUIT has not yet pushed out Sequoia to Harvard Macs) and receive an error message like:
Bad packet length [some large number].
ssh_dispatch_run_fatal: Connection to [an IP address] port 22: Connection corrupted
You can manually add SSH to your Mac’s firewall rules. Again, proceed at your own risk or wait for an Apple update.
- If you are using the built-in Mac SSH, open Terminal and run:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/bin/ssh
You will need to supply your local use password (the one you log in with) when running sudo. - If you have installed SSH via homebrew, open Terminal and run:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /opt/homebrew/bin/ssh
You will need to supply your local use password (the one you log in with) when running sudo.