[Forgot Password]
Login  Register Subscribe

24003

 
 

131423

 
 

103942

 
 

909

 
 

83962

 
 

133

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-90337-7

Platform: macosx10.10Date: (C)2015-06-23   (M)2018-04-04



Set the SSH Idle Timeout Interval and the Timeout for the Login Prompt 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.


Parameter: LoginGraceTime in seconds


Technical Mechanism: The SSH daemon ClientAliveInterval option must be set correctly. To check the idle timeout setting for SSH sessions, run the following: sudo grep ^ClientAliveInterval /etc/sshd_config If the setting is not '600', this is a finding. The SSH daemon ClientAliveCountMax option must be set correctly. To ensure the SSH idle timeout will occur when the 'ClientAliveCountMax' is set, run the following command: sudo grep ^ClientAliveCountMax /etc/sshd_config If the setting is not 'ClientAliveCountMax 0', this is a finding. The SSH daemon LoginGraceTime must be set correctly. To check the amount of time that a user can login through SSH, run the following command: sudo grep ^LoginGraceTime /etc/sshd_config If the value is not set to '30' or less, this is a finding.

References:

Resource IdReference
NISTSC-10
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:25109


OVAL    1
oval:org.secpod.oval:def:25109
XCCDF    2
xccdf_org.secpod_benchmark_general_Mac_OS_X_10_10
xccdf_org.secpod_benchmark_SecPod_MAC_OS_X_10_10

© 2013 SecPod Technologies