4 ms·
It's impossible they will brute force your key if you have a decent length. While I'm sure it is possible for some (mainly government) actors to brute force ke
by wkat4242 3y ago
It's impossible they will brute force your key if you have a decent length.
While I'm sure it is possible for some (mainly government) actors to brute force keys, I'm also sure these do not include the same low-hanging-fruit vandals blasting brute force attacks. And I'm also pretty sure you're not one of the select targets of these highly advanced actors.
A vulnerability in sshd is indeed possible and happens once in a while. Fail2Ban won't stop this though because a known exploit will let them through on the first attempt.
I personally view fail2ban more as nuisance control when it comes to SSH with password auth disabled. Minimizing the log crap, the wasted CPU resources by the failed handshakes. It's not really a security protection in that scenario. In other cases (e.g. web logins where passwords must be used) it of course is.
- sophacles 3y agoUnless the maintainer of your distro's ssh package accidentally introduces an error that reduces the number of possible keys to, say - 32,767 total possible keys.[1] That's a brute-forcible number of keys that fail2ban would help mitigate. (1: https://research.swtch.com/openssl https://research.swtch.com/openssl)
- rerdavies 3y agoOr the NSA subverts a cryptographic standard in order to produce predictable seeds for cryptographic random-number generators that are used to produce private keys. [1] (1: https://www.bbc.com/news/technology-24048343 https://www.bbc.com/news/technology-24048343 )
- drpixie 3y agoINCONCEIVABLE! You keep using that word. I do not think it means what you think it means.