apt install fail2ban
systemctl enable fail2ban
systemctl start fail2ban
[RULES]
...
IN SSH(ACCEPT) -i net0 -source 10.0.0.1,10.0.0.2,10.0.0.3 # accept ssh for listed IPs
Port directive, followed by restarting the service: systemctl restart sshis it supported when you have a proxmox cluster ?3. if IP whitelisting is not an option for some reason, then it can also help to move the SSH port from the default 22 to something bigger [2] (it would reduce the amount of automated bots finding your exposed SSH port).
for that you'd edit /etc/ssh/sshd_config and /etc/ssh/ssh_config and change thePortdirective, followed by restarting the service:systemctl restart ssh
yes, but editing the ssh client config on the nodes to match the port is also necessaryis it supported when you have a proxmox cluster ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.