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

Yellow Bricks

by Duncan Epping

  • Home
  • 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 [email protected]

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 in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

May 24th – VMUG Poland
June 1st – VMUG Belgium

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in