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
Automatic Restart on System Reboot With PM2 Read tip
Assign a Random Port to Node.js Server Read tip
Difference Between Apt and Apt-Get Read tip