AOSX-09-000720 - The SSH daemon ClientAliveInterval option must be set correctly.

Information

SSH should be configured to log users out after a 15 minute interval of inactivity and to only wait 30 seconds before timing out login attempts. 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. In addition, quickly terminating an idle session or an incomplete login attempt will also free up resources committed by the managed network element.

Solution

In order to make sure that ClientAliveInterval is set correctly, run the following command:

sudo sed -i.bak 's/.*ClientAliveInterval.*/ClientAliveInterval 600/' /etc/sshd_config

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-9_Workstation_V1R2_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12, CAT|II, CCI|CCI-001133, CSCv6|16.4, Group-ID|V-58383, Rule-ID|SV-72813r1_rule, STIG-ID|AOSX-09-000720

Plugin: Unix

Control ID: 0e85832dedad75431e74940dbbe88a389e2252a5c251db1fc948972f8672d003