English
+370 5 205 5502 sales@monovm.com

A simple step by step tutorial to connect to your VPS via Putty and to change your login password.

27

Aug, 20

How to change the login password of a Linux VPS?

Once you order your Linux VPS (Virtual Private Server), the service provider provides you with the login details. However it’s recommended to change the password once you get your VPS!

 This is due to security reasons. One being that the service provider will know your VPS password and second being that the email you get with your VPS details contains the password in plain text. If someone gains access to this email they will know the password to access your VPS.

So let’s get to it!

Note that the following tutorial was created by using Centos 6.9. However the steps are similar in other Linux distributions.

Before we change the password, this is how to connect to your Linux VPS. Here we are using an SSH client to connect to our VPS. Download an SSH client we are using Putty for this tutorial.

What you will need before:

  1. IP address of your VPS
  2. Username and password

How to change password of CentOS VPS

  • Open Putty and enter the Host Name or IP address of your VPS. (you can keep the other fields as default)

connect using putty

  • Enter the login credentials.

enter the username and password

Login as: this is the place where you should write your username

root@*IP address of the VPS*’s password: Enter the VPS password here

Note that when you enter the password it will not show any characters. This is a security measure. Simply type in the password and press enter!

  • Type in ‘passwd’ and press enter
  • Now you can enter the new password. It will not be displayed as you type (this is a security measure).

 Change linux VPS password

Congratulations! You have successfully changed your password on your Linux VPS! Let us know in the comments below what you would like to know next.

 

Also you can chek this video for Change linux VPS password.

susith nonis

I'm fascinated by the IT world and how the 1's and 0's work. While I veture into the world of Technology I try to share what I know in the simplest way to you. Hope you like it.