Skip to content

Instantly share code, notes, and snippets.

@jedi-jiang
Created November 23, 2019 09:02
Show Gist options
  • Save jedi-jiang/6e7fc0df036657cb2d506d1c078c01b8 to your computer and use it in GitHub Desktop.
Save jedi-jiang/6e7fc0df036657cb2d506d1c078c01b8 to your computer and use it in GitHub Desktop.

client_loop: send disconnect: Broken pipe

If you encounter the above issue while ssh to a remote host, you should try to add following options to the /etc/ssh/ssh_config.

Host *
  IPQoS=throughput
@farzinft
Copy link

didn't work

@giyoon-v
Copy link

Do you guys have any other suggestion to fix this issue please?
I tried both IPQos=throughoput as well as following as suggested by https://linuxhandbook.com/ssh-broken-pipe-error/

Host *
ServerAliveInterval 600

Any other links or help that I could look into please?

@cantorman
Copy link

I did this in my ~/.ssh/config

Host *
  IPQoS throughput

(no = sign)
and was successful.

Another syntax that does not use ~/.ssh/config but does use ssh -o does require the = sign

ssh -o IPQoS=throughput git@github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment