csf ssh log path almalinux 8.4

Post Reply
ale-ab
Junior Member
Posts: 14
Joined: 17 Dec 2014, 22:25

csf ssh log path almalinux 8.4

Post by ale-ab »

Hello,
i have a new vps with almalinux 8.4 and install csf firewall.
works fine but not block attack on ssh.

i check and found on almalinux there isn't a file
/var/log/secure
(like centos 7).

searching i found that centos 8 / almalinux 8 use journalctl
so if i run in ssh
journalctl _COMM=sshd
i found error (like old log files)

so what i write in /etc/csf/csf.conf
SSHD_LOG = .... ????

thank you
ale-ab
Junior Member
Posts: 14
Joined: 17 Dec 2014, 22:25

Re: csf ssh log path almalinux 8.4

Post by ale-ab »

sorry,
i forget to install rsyslog ...

i installed with
dnf install rsyslog

reboot

and now works fine

thank you
Post Reply