SSH Broken Pipe with VMware NAT

Last Modified: Mon, 18 Feb 2019 15:25:35 +0000 ; Created: Mon, 18 Feb 2019 15:25:35 +0000

Ran into this problem when using the git clone command on a virtual machine inside VMware Workstation. The latest version of OpenSSH utilizes QoS for IP packets, but the NAT software in VMware has a bug where this causes connections to fail. This was especially a problem when I tried to run git clone because the error I received was packet_write_wait: Connection to port 22: Broken pipe

The cause and workaround is documented in multiple places

Solution Quick Reference


Host *
  IPQoS lowdelay throughput