#1108150 fail2ban: /etc/fail2ban/filter.d/sshd.conf uses old _SYSTEMD_UNIT=sshd.service instead of the new _SYSTEMD_UNIT=ssh.service

#1108150#5
Date:
2025-06-21 16:22:56 UTC
From:
To:
Dear Maintainer,

fail2ban comes configured with:
     journalmatch = _SYSTEMD_UNIT=sshd.service + _COMM=sshd
in /etc/fail2ban/filter.d/sshd.conf

The systemd unit for SSH has been renamed to ssh.service for quite some
time now and the line should read:
     journalmatch = _SYSTEMD_UNIT=ssh.service + _COMM=sshd

Regards,
Robert

#1108150#10
Date:
2025-07-12 22:53:42 UTC
From:
To:
This is a duplicate of #1078208, already fixed in trixie but apparently
not yet in bookworm.