If you experience problems with fail2ban .
If you are on e.g host 10.0.0.5 and do:
ssh 10.0.0.5
# ssh hangs now
and the ssh hangs, then fail2ban can be the issue.
The quick fix is to do :
fail2ban-client set addignoreip 10.0.0.5
Longer fixes/real fixes are welcome!
Comments
1 comment
If SSH hangs when connecting to a host, fail2ban may be blocking your IP. Quick fix: whitelist it with
fail2ban-client set <jail> <redz hub script> addignoreip 10.0.0.5. Long-term fix: review fail2ban logs, jail rules, and SSH retry settings.Please sign in to leave a comment.