UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must set a timeout count on idle sessions.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000231 RHEL-06-000231 RHEL-06-000231_rule Low
Description
This ensures a user login will be terminated as soon as the "ClientAliveCountMax" is reached.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000231_chk )
To ensure the SSH idle timeout will occur when the "ClientAliveCountMax" is set, run the following command:

# grep ClientAliveCountMax /etc/ssh/sshd_config

If properly configured, output should be:

ClientAliveCountMax 0


If it is not, this is a finding.
Fix Text (F-RHEL-06-000231_fix)
To ensure the SSH idle timeout occurs precisely when the "ClientAliveCountMax" is set, edit "/etc/ssh/sshd_config" as follows:

ClientAliveCountMax 0