Skip to content

Secure Your VPS: Disable Password Login

💡 Servers are often a target for SSH brute-forcing attacks. Disable password login to prevent an attacker from gaining access to your server.

👉🏼 Use a keypair for authentication and set PasswordAuthentication to "no" in /etc/ssh/sshd_config.

Set PasswordAuthentication to no in /etc/ssh/sshd_config to disable password login.
A preview of the VPS Security Cheatsheet.

Download the VPS Security Cheatsheet

No spam! 🙅🏻‍♀️ Unsubscribe at any time.