Password Login Belongs To The Past

Public key authentication is an easier and more reliable compared to the old- fashioned password-based login. Keys are basically less prone to brute-force attacks.
If you want to force users to use keys add the line in the /etc/sshd/sshd_condig
Disable PasswordAuthentication

Leave a Reply

Your email address will not be published.