SSH server no longer terminate inactive sessions when setting ClientAliveCountMax=0

Solution Verified - Updated -

Issue

SSH server no longer terminate inactive sessions.

  • Setting ClientAliveCountMax=0 in sshd_config no longer terminate inactive sessions.
  • The configuration has worked in previous version of RHEL.

Environment

  • Red Hat Enterprise Linux 8.6 or newer
  • Red Hat Enterprise Linux 9
  • OpenSSH
    • openssh-server-8.0p1
    • openssh-server-8.7p1

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