How to change server root password using SSH or VPS Portal?

  1. Connect to your server via SSH as root user.

Enter the command:


  1. Type your password, then press Enter.
  2. When prompted for your current UNIX password, enter your SSH password, then press Enter.
  3. Retype your new password and press enter. If successful, you will see the output:

    passwd: all authentication tokes updated successfully

You can also change root password from VPS manager portal.

Just Login Into Your Billing Account

Click On Services Menu.
Click on related service name for which you are going to change password.
Just scroll down to VPS manage portal and click on "
Change Password" Button as showing in screen to change main root password.
Now just type your new password and confirm password.
Password Must Includes.
Symbols: ( e.g. @#$% )
Numbers: ( e.g. 123456 )
Lowercase Characters: ( e.g. abcdefgh )
Uppercase Characters: ( e.g. ABCDEFGH )

Once Password changed you will see success message.
Now in KVM virtualizaztion we need to reboot/restart our VM for the new password to take effect.
You can do it by just click on restart/reboot icon on the VPS manager portal.

That's all.

  • change password in SSH of CentOS, change ssh password, change root password, change server password, server
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to access VPS by SSH for first time?

You need to download latest version of Putty.exe file here: Open...

What is the requirements to Buy Pakistan Hosted VPS?

We Provide Pakistan Hosted VPS Servers only to Pakistani Customers. VPS Servers are hosted in...

How to change SSH Port in CentOS?

Connect to your server via SSH as root user. Run the following command: vi...

How to Install CSF firewall in cPanel?

CSF firewall is fairly easy to install and require only few steps through SSH. Please follow the...

How to reinstall your VPS?

You can reinstall your OS by just login into Client area > Navigate to **[Service Section]...