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:
$ ssh [remote_host] -l [user]
[user]@[remote_host]'s password:
client_loop: send disconnect: Broken pipe
$
The fix, courtesy of WireTurf, turns out to be changing your ssh
command to:
$ ssh -o IPQoS=throughput [remote_host] -l [user]
$
Or you can edit ~/.ssh/config
to add:
Host *
IPQoS=throughput