Recently when cloning repositories through GitHub I was facing immediate broken pipe issues.
bnt@gentoo ~ $ ssh git@github.com
packet_write_wait: Connection to 140.82.118.4 port 22: Broken pipe
The fix is to change the IP Quality of Service setting to “throughput”.
~/.ssh/config
Host *
IPQoS=throughput
This is a known issue and being tracked by a bug on the open-vm-tools GitHub repository [link]. I’m running VMWare Fusion 11.0.3 and open-vm-tools 10.3.10 on Gentoo with kernel 4.19.27 and ssh version 7.9_p1-r4.