How to set the session timeout in systemd-logind
Issue
- Our sessions for RHEL 8 are not timing out and becoming inactive.
- SSH ClientAlive* options no longer work as they used to in previous versions of RHEL and an alternative solution is required.
Environment
- Red Hat Enterprise Linux 8.7 and later
- systemd-239-68
- Red Hat Enterprise Linux 9.1 and later
- systemd-250-12
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.