How to Change Password in Linux VPS

How to Change Password in Linux VPS

 

To change the password on your VPS, here's a general guide depending on the type of access you have:

 

For Linux VPS (via SSH):

 

Step 1

- Login to the VPS with an SSH client like PuTTY or the terminal.

- Connect to your server using the current username and password.

- Once logged in use the following command:

   ssh root@your_server_ip

 

Step 2

- Once logged in, run the following command to change the root password:

   passwd

 

- Enter the new password when prompted and confirm it.

 

Step 3

- Once done Logout and log back in using the new password to ensure the change was successful.

Was this answer helpful? 0 Users Found This Useful (0 Votes)