Logo
SSH client_loop fix

SSH client_loop fix

April 24, 2021
1 min read
index

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:

Terminal window
$ 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:

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

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

Terminal window
Host *
IPQoS=throughput