====== fail2ban Blocks Coolify Container After Repeated SSH Failures ====== **Affects:** [[folkzone:services:coolify|Coolify]] ===== Symptom ===== After repeated failed SSH connection attempts during Coolify setup, ''fail2ban'' bans the Coolify container's IP, causing all subsequent SSH attempts to silently fail even after the key is fixed. ===== Check if banned ===== sudo fail2ban-client status sshd Look for the container IP (typically in the ''172.18.x.x'' range) in the banned list. ===== Unban ===== sudo fail2ban-client set sshd unbanip 172.18.0.7 ===== See Also ===== * [[folkzone:troubleshooting:start|Homelab Troubleshooting Index]] * [[folkzone:troubleshooting:coolify_ssh_setup|Coolify SSH Key Setup]] * [[folkzone:infrastructure:security|Security (UFW + fail2ban)]] * [[start|Return to wiki home]]