VMware Fusion 11.0.0 + MacOS 10.14.2 — SSH commands (git in my case) throwing: ‘Broken pipe’ errors

Paul Talbot
1 min readDec 13, 2018

--

Today I upgraded to MacOS Mojave v10.14.2 on my local development environment. It’s running as a guest VM in VMware Fusion Professional v11.0.0… Near as I could tell, everything went smoothly. However, when trying to pull (using ssh) a repo, I received this intuitive and useful error message:

janitor@sandbox tf_ecs_dev (master) $ git pull
packet_write_wait: Connection to 192.30.253.112 port 22: Broken pipe
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
janitor@sandbox tf_ecs_dev (master)

Google took me to: https://communities.vmware.com/thread/590825
Their write-up is as follows:

Because vmnat do not recognise AF21/CS1 DSCP flags, it’ll send back a RST packet (don’t know why) immediately upon received any packet having either flags, and finally break all ssh connection. (This happens soon after authentication since IPQoS applies during channel establish) [2]

Proposed workaround (found in link above) worked for me! You can make that parameter default for all hosts (in ~/.ssh/config) like so:

Host *
IPQoS=throughput

Roll that beautiful bean footage!

janitor@sandbox tf_ecs_dev (master) $ git pull
Already up to date.
janitor@sandbox tf_ecs_dev (master) $

--

--