Site Tools


troubleshooting:coolify_fail2ban

fail2ban Blocks Coolify Container After Repeated SSH Failures

Affects: 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

troubleshooting/coolify_fail2ban.txt · Last modified: by 127.0.0.1