Unblocking SSH after "Too many authentication failures"

Started by OpenNonsense, February 01, 2025, 11:58:51 AM

Previous topic - Next topic
Hi, I had a script run berserk and trigger the ssh block (actually, the issue was that the ssh key copied OPNsense didn't survive a reboot - but I'll look into this separately one SSH access works again). Further login attempts are now just giving a timeout.

I searched for how to unblock, and (only) found this: This old forum entry
It says that ssh access is blocked via pf tables and should be unblocked via Firewall -> Diagnostics -> pf tables

This menu entry doesn't exist for me in today's (24.7.12) UI. I searched the UI, but can't find something that looks like a match. Could you please help with a pointer to where I can unblock SSH access again?

Thanks!

Under [Firewall > Diagnostics > Aliases], select "sshlockout" from the drop-down menu at the top-left, find the offending IP address, click the bin/trashcan icon to delete it (or maybe use the "Flush" button).


Or from a console:
pfctl -t sshlockout -T flushA combination of -T show and -T delete <IP> could likely be used as well.