4 ms·
You should be using public key authentication: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 https://www.digitalocean.com/community
by brobinson 9y ago
You should be using public key authentication: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 https://www.digitalocean.com/community/tutorials/how-to-set-...
If you insist on using passwords, make sure you at least install something like fail2ban or denyhosts to block the compromised machines which are hammering your server trying to guess passwords. Clients can see which authentication methods are allowed so they know which machines to attack (i.e., yours, if you allow passwords).
- MertsA 9y agoOr for something even cleaner than a program trying to parse plaintext logs you can use a PAM module. https://wiki.archlinux.org/index.php/Pam_abl https://wiki.archlinux.org/index.php/Pam_abl
- adfskjldsjfk 9y agoHow would you compare it with fail2ban?
- deleted 9y ago[deleted]