PHTN-67-000038 - The Photon operating system must configure sshd to disconnect idle 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 the console or console port that has been left unattended.

Solution

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

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

ClientAliveInterval 900

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_Y23M07_STIG.zip