PHTN-30-000038 - The Photon operating system must configure sshd to disconnect idle Secure Shell (SSH) sessions.

Information

Terminating an idle session within a short time period reduces the window of opportunity for unauthorized personnel to take control of a management session enabled on a console or console port that has been left unattended.

Solution

Navigate to and open:

/etc/ssh/sshd_config

Ensure the 'ClientAliveCountMax' line is uncommented and set to the following:

ClientAliveCountMax 0

At the command line, run the following command:

# systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y24M01_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-10, CAT|II, CCI|CCI-001133, Rule-ID|SV-256514r887216_rule, STIG-ID|PHTN-30-000038, Vuln-ID|V-256514

Plugin: Unix

Control ID: 4612856fb6811f5f4c3381a37008a9d15337cae277a94786d7be13601260c444