mac – FASRC DOCS https://docs.rc.fas.harvard.edu Thu, 10 Oct 2024 17:52:36 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://docs.rc.fas.harvard.edu/wp-content/uploads/2018/08/fasrc_64x64.png mac – FASRC DOCS https://docs.rc.fas.harvard.edu 32 32 172380571 MacOS Sequoia SSH ‘corrupted’ bug https://docs.rc.fas.harvard.edu/kb/macos-sequoia-ssh-bug/ Thu, 10 Oct 2024 17:47:02 +0000 https://docs.rc.fas.harvard.edu/?post_type=epkb_post_type_1&p=27770 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/sshYou 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.
]]>
27770