Unexpected behavior of ControlMaster and ControlPath in sshd. sshd exit unexpectedly randomly during test?

Solution Verified - Updated -


  • Sshd unexpectedly exit when ControlMaster and ControlPath is used and multiple connections initiated through loop.


  • Red Hat Enterprise Linux 7
  • Openssh (latest ship with Red Hat Enterprise Linux 7, at the time of writing this article)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content