SSH client_loop fix

I had a weird issue today after a recent macOS upgrade. Everytime I tried to SSH to my home server (on the same network), it hung for a minute or two and then spat out this error:

1
2
3
4
$ ssh [remote_host] -l [user]
[user]@[remote_host]'s password: 
client_loop: send disconnect: Broken pipe
$

The fix, courtesy of https://wireturf.wordpress.com/2020/11/29/how-to-fix-macos-big-sur-apple-silicon-ssh-issue-client_loop-send-disconnect-broken-pipe/, turns out to be changing your ssh command to:

1
$ ssh -o IPQoS=throughput [remote_host] -l [user]

Or you can edit ~/.ssh/config to add:

1
2
Host *
IPQoS=throughput