Is it a bad idea to use a really long password for SSH on a VPS?

0
0
Asked By SillyBanana144 On

I'm curious about the security of using a very long password generated by OpenSSL (like from the command `openssl rand -base64 48`) to SSH into my VPS. After checking its strength on a password testing tool, it seems like it would take centuries to crack. I also noticed that when I enter the wrong password, my hosting company appears to add a delay before notifying me, which makes me think they'll catch any brute-force attempts if they happen. While I know the best practice is to use SSH keys and not rely on passwords, I wonder how much more secure that really is compared to just using a strong password. What's the security ratio between using strong passwords and SSH keys?

2 Answers

Answered By LongPassion43 On

Long passwords are better, but a long password combined with an SSH key is even more secure. The combination maximizes security for your connections!

Answered By SafeNetUser On

Best practice is always to use SSH keys. Keep usernames and passwords for local access or escalated privileges only. Remember, most hosting services leave the security on you, so it’s your job to monitor and secure your machine.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.