Anyway, I rebooted and after about half an hour it seems I now have SSH access again?
I wonder if I somehow blocked access from my IP address?
I was trying to login as a user and got rejected, which is why I wanted to make sure that they had SSH access.
I’ll see if I can find a way to check if a user has ssh access, and how to grant a user ssh access via terminal - the only methods I can find for doing it via Virtualmin don’t seem to be working.
You entered the wrong password several times (five, I think, is the default).
If you use key-based authentication you’ll never have that problem (and it’s stronger than a password that a human can type could ever be). You could also alter the fail2ban configuration to be more forgiving of wrong passwords, but then you reduce the effectiveness of fail2ban at preventing brute force attacks.