I recently upgraded my Macbook to OSX Mojave (10.14.1). Ever since I upgraded whenever I want to open an SSH session to any server on the internal (VMware) network I would receive the following error message:
packet_write_wait: connection to x.y.z. port 22: broken pipe
Very annoying as it made deploying labs in our dev cloud very complicated. I googled around and there were many suggestions on how to solve this, but none worked so far. A colleague today pointed me to thread on VMTN (surprisingly) which describes how to solve the problem. it is very simple, just add “ssh -o IPQoS=throughput” to your normal ssh command. So something like the following:
ssh -o IPQoS=throughput root@192.168.1.1
Thanks Alex for the pointer, and thanks Quinn for posting the solution on VMTN! Oh, and yes you can add the following to your ~/.ssh/config so that you don’t have the use the -o flag everytime:
Host * IPQoS=throughput
You can add the parameter in the ~/.ssh/config files.
http://www.gsp.com/cgi-bin/man.cgi?topic=ssh_config
Thanks for the info. You have a double “ssh” on your command line example
Thank you! This worked perfectly..
thank you, it worked fine..
Thanks! It worked
This problem took some hours of my day. I’m glad you shared the solution. Thanks!
Thank you very much. This saved me.
Sigh, wish I would have found this 2 hours ago. Thanks for sharing!
Thanks! This worked
Jezzz, I have the same problem on Mojave… thanks a bunch
No problem!