Quick Tips: How to change Ubuntu Root SSH password

by Ruchira on January 9, 2013

Got your new VPS/Dedicated server and want to know how to change the default root login password, given to you when your server was setup? This is a simple procedure but most online documentation goes beyond the linux new bies knowledge. This time on Quick Tips I’m going to explain you how to do that on your Ubuntu, Debian , Centos server

Login to the server via SSH by given root user name and password. And execute this command on the terminal

sudo passwd root

( “root” is the user account name here, if you got different name enter accordingly )
ssh password change



And enter the new password twice, you are good to go 🙂

I'm Ruchira Sahan and all posts on this blog are completely my thoughts and writings. I love DIY and Technology. So feel free to contact me for anything about this blog and don't forget to add a comment if this blog helped you! Thanks
View all posts by Ruchira

{ 1 comment… read it below or add one }

1 Fachim January 25, 2013 at 3:24 PM

Thank for the tips, although it is crucial, it helpful if you are in condition that you have to maintain your server safe and secure, by gradually changing your root password.


Leave a Comment

Previous post:

Next post: