SV-217265r603262_rule
V-217265
SRG-OS-000032-GPOS-00013
SLES-12-030110
CAT II
10
Configure SSH to verbosely log connection attempts and failed logon attempts to the SUSE operating system.
Add or update the following line in the "/etc/ssh/sshd_config" file:
LogLevel VERBOSE
The SSH service will need to be restarted in order for the changes to take effect:
# systemctl restart sshd
Verify SSH is configured to verbosely log connection attempts and failed logon attempts to the SUSE operating system.
Check that the SSH daemon configuration verbosely logs connection attempts and failed logon attempts to the server with the following command:
# sudo grep -i loglevel /etc/ssh/sshd_config
The output message must contain the following text:
LogLevel VERBOSE
If "LogLevel" is not set to "VERBOSE" or "INFO", the LogLevel keyword is missing, or the line is commented out, this is a finding.
V-217265
False
SLES-12-030110
Verify SSH is configured to verbosely log connection attempts and failed logon attempts to the SUSE operating system.
Check that the SSH daemon configuration verbosely logs connection attempts and failed logon attempts to the server with the following command:
# sudo grep -i loglevel /etc/ssh/sshd_config
The output message must contain the following text:
LogLevel VERBOSE
If "LogLevel" is not set to "VERBOSE" or "INFO", the LogLevel keyword is missing, or the line is commented out, this is a finding.
M
4033