6.2.2 Set LogLevel to INFO

Information

The INFO parameter specifies that record login and logout activity will be logged.

Rationale:

SSH provides several logging levels with varying amounts of verbosity. The 'DEBUG' is specifically not recommended other than strictly for debugging SSH communications since it provides so much data that it is difficult to identify important security information. The 'INFO' level is the basic level that only records login activity of SSH users. The VERBOSE level records both login and logout activity. In many situations, such as Incident Response, it is important to determine when a particular user was active on a system. The logout record can eliminate those users who disconnected, which helps narrow the field.

Solution

Edit the /etc/ssh/sshd_config file to set the parameter as follows:

LogLevel INFO

Default Value:

OS Default: No

See Also

https://workbench.cisecurity.org/files/3096

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12, CSCv7|6.3

Plugin: Unix

Control ID: 2538c74db024f70eb2410a58ee777c411f82951e955a4aaf7d8c6db792716ebd