Ubuntu: Installing Fail2Ban

Protect SSH from brute force attacks.

apt install fail2ban -y

Start the service:

systemctl start fail2ban
systemctl enable fail2ban

It works out of the box to protect SSH.

  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

Ubuntu: First Login & Updates

Welcome to Ubuntu!After logging in as root, your first task is to update the system repositories...

Ubuntu: Setting up UFW Firewall

Ubuntu uses UFW (Uncomplicated Firewall).Allow SSH first: ufw allow ssh (or allow 22/tcp).Allow...

Ubuntu: Securing SSH (Root & Keys)

1. Disable Root LoginEdit config: nano /etc/ssh/sshd_configFind PermitRootLogin and set to no.2....