Change SSH root password on Centos by Putty

It is recommended to change SSH password of your server, to avoid attacks and hacking your server. Yesterday, I’ve been notified by my Hosting company that I was subject of Brute force attacks. More than failed brute force attacks registered on my server after my last successful login.

How to change the password

Simply, login to Centos with Putty (using TightVNC) with your old password, type :

passwd

and type the new password, confirm, and that is it!

Leave a Reply