Compare commits

...

2 Commits

Author SHA1 Message Date
341551d5ba Disable password login via SSH in apex
All checks were successful
CI / build:cross (pull_request) Successful in 12s
CI / build:all (pull_request) Successful in 15s
2025-11-20 15:21:14 +01:00
2d2762d4ec Enable fail2ban in apex login node
We are seeing a lot of failed attempts from the same IPs:

    apex% sudo journalctl -u sshd -b0 | grep 'Failed password' | wc -l
    2441
2025-11-20 15:17:06 +01:00

View File

@ -57,6 +57,11 @@
}; };
}; };
services.fail2ban.enable = true;
# Disable SSH login with password, allow only keypair
services.openssh.settings.PasswordAuthentication = false;
networking.firewall = { networking.firewall = {
extraCommands = '' extraCommands = ''
# Blackhole BSC vulnerability scanner (OpenVAS) as it is spamming our # Blackhole BSC vulnerability scanner (OpenVAS) as it is spamming our