• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

SSH on OSX Mojave failing with broken pipe error

Duncan Epping · Nov 26, 2018 ·

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

Related

Server broken pipe, osx, ssh

Reader Interactions

Comments

  1. Casper says

    26 November, 2018 at 16:30

    You can add the parameter in the ~/.ssh/config files.

    http://www.gsp.com/cgi-bin/man.cgi?topic=ssh_config

  2. David Cole says

    28 November, 2018 at 01:31

    Thanks for the info. You have a double “ssh” on your command line example

  3. Gaurav Agarwal says

    29 November, 2018 at 12:53

    Thank you! This worked perfectly..

  4. Guntaka says

    4 April, 2019 at 23:48

    thank you, it worked fine..

  5. allkenang says

    11 April, 2019 at 06:19

    Thanks! It worked

  6. Everton says

    14 June, 2019 at 20:38

    This problem took some hours of my day. I’m glad you shared the solution. Thanks!

  7. Kolitha Upendra Kuruppu says

    18 July, 2019 at 06:31

    Thank you very much. This saved me.

  8. Rich Youngkin says

    12 September, 2019 at 00:40

    Sigh, wish I would have found this 2 hours ago. Thanks for sharing!

  9. Niranjan Sathindran says

    25 October, 2019 at 19:42

    Thanks! This worked

  10. Tuan Jinn says

    24 April, 2020 at 00:22

    Jezzz, I have the same problem on Mojave… thanks a bunch

    • Duncan Epping says

      4 May, 2020 at 09:20

      No problem!

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Also visit!

For the Dutch-speaking audience, make sure to visit RunNerd.nl to follow my running adventure, read shoe/gear/race reviews, and more!

Do you like Hardcore-Punk music? Follow my Spotify Playlist!

Do you like 80s music? I got you covered!

Copyright Yellow-Bricks.com © 2026 · Log in