Skip to content

Secure Your VPS: Disable Password Login

View on Twitter

💡 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.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
Run Locally Installed NPM Library Read tip
Disable NPM Update Notifications Read tip
Easily Test Your .htaccess Rewrite Rules Read tip