Openssh shipped with RHEL6 sends wrong SSH_MSG_DISCONNECT

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux(RHEL) 6
  • openssh-5.3p1-104.el6_6.1

Issue

  • ssh connections are not terminated correctly, in case the client disconnects.
  • The ssh-server does keep already terminated ssh-connections, until the socket times out.
  • sshd child processes stay running, even if the client side has disconnected correctly.

Resolution

  • This issue has been fixed with Errata RHBA-2015:1610-1
  • This is fixed with openssh-5.3p1-112.el6_7 and later versions.

Root Cause

  • Current implementation of openssh-clients shipped with RHEL6 does not adhere to RFC 4253, as a language tag is not sent in some cases for the SSH_MSG_DISCONNECT message

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.