5.2.3 Ensure SSH LogLevel is set to INFO (Scored)

Level 1 - Server
Level 1 - Workstation 

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

SSH provides several logging levels with varying amounts of verbosity. 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. INFO level is the basic level that only records login activity of SSH users. 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.

Run the following command and verify that output matches:

# grep "^LogLevel" /etc/ssh/sshd_config 
LogLevel INFO

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

LogLevel INFO
  • ubuntu1604/5/2/3.txt
  • Last modified: 2017/05/04 11:14
  • by 127.0.0.1