PHTN-67-000039 - The Photon operating system must configure sshd to disconnect idle SSH sessions.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 the console or console port that has been left unattended.

Solution

Open /etc/ssh/sshd_config with a text editor.

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

ClientAliveCountMax 0

At the command line, execute the following command:

# service sshd reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y22M04_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001133, Rule-ID|SV-239111r675141_rule, STIG-ID|PHTN-67-000039, Vuln-ID|V-239111

Plugin: Unix

Control ID: fe2fce4ee875ab7242e3b5491a353c7ee85d13723e3db39d874e5f4087cee7bb