OpenSSH continues to hand out DISPLAY numbers after running out of ports

Solution Verified - Updated -

Issue

  • When connected with ssh -X, the OpenSSH server will verify if a display number and port is available.\
    • Once it runs out of ports, the server continues to hand out more DISPLAY numbers anyway, causing connected users to not be able to obtain a DISPLAY
    • Multiple users are connecting from unique IP addresses, but they share the same user ID.

Environment

  • Red Hat Enterprise Linux 6.8
  • openssh-5.3p1-118.1

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