AlmaLinux: Securing SSH (Root & Keys)

1. Disable Root Login

Edit config: nano /etc/ssh/sshd_config

Set PermitRootLogin no.

2. Restart SSH

systemctl restart sshd
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

AlmaLinux: First Steps & Updates

Welcome to AlmaLinux!Update your system using DNF:dnf update -yInstall EPEL repository (Extra...

AlmaLinux: Firewalld Setup

RHEL systems use firewalld.Check status: systemctl status firewalldAllow SSH & HTTP:firewall-cmd...

AlmaLinux: Installing Fail2Ban

Requires EPEL repo.dnf install fail2ban fail2ban-firewalld -yEnable and start:systemctl enable...