sudo fail2ban-client get sshd maxretry

Category: VPS Management

sudo fail2ban-client get sshd maxretry

Read the current maxretry value for sshd

get <jail> <variable> queries the running jail's effective settings — useful to confirm a live set command took effect before it is lost on restart. The value shown is what the daemon is enforcing right now, which may differ from jail.local if you tuned it live. Other readable variables include findtime and bantime.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.