Update kejilion.sh

This commit is contained in:
科技lion 2025-09-28 18:19:15 +08:00 committed by GitHub
parent 5a189e54f2
commit 5dc799c636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3038,7 +3038,7 @@ f2b_install_sshd() {
start fail2ban
enable fail2ban

if grep -q 'dnf' /etc/issue; then
if command -v dnf &>/dev/null; then
cd /etc/fail2ban/jail.d/
curl -sS -O ${gh_proxy}raw.githubusercontent.com/kejilion/config/main/fail2ban/centos-ssh.conf
fi