Nguyễn Thị Lan
New member
How do I check SSH logs?
Answer
If you want to have it include login attempts in the log file, you’ll need to edit the /etc/ssh/sshd_config file (as root or with sudo) and change the LogLevel from INFO to VERBOSE . After that, the ssh login attempts will be logged into the
/var/log/auth.log file. My recommendation is to use auditd.
Answer
If you want to have it include login attempts in the log file, you’ll need to edit the /etc/ssh/sshd_config file (as root or with sudo) and change the LogLevel from INFO to VERBOSE . After that, the ssh login attempts will be logged into the
/var/log/auth.log file. My recommendation is to use auditd.