How to find root password and port?

(i) When a customer pays for a new VPS, the host sends a mail in which important information is given about the IP Address and the root password.

Root password

Example:

This is the mail that Hetzner.com sends when a VPS is purchased from it:

“YOUR NEW SERVER
Your server “ubuntu-2gb-hel1-2” was created!
You can access your server with the following credentials:

IPv4 95.216.134.82
IPv6 2a01:4f9:c010:7ba::/64
User root
Password A7UHV3p7NJqssEtnxdCP

You will be prompted to change your password on your first login.

To improve security, we recommend that you add an SSH key when creating a server. This way, no root password will be set and this e-mail won’t be generated.”

(ii) Upon logging in with PuTTY into the VPS, there will be a prompt to change the root password.

The root password can be changed with the command:

 passwd 

(iii) Assuming the email does not have the root password stated, you can log in to the control panel in the hosts’ website using the username and password with which you registered on the site.

(iv) After log in, the control panel will have an option to change the root password.

You can change the password here and log in afresh into the VPS with PuTTY.

(v) One can also log in to the sever using the ‘console’. The ‘console’ is like sitting in the datacenter itself. It provides direct access to the VPS.

What is PuTTY?

PuTTY is a free and popular SSH program for Windows. It gives shell access to the server.

Persons using Mac or Linux can use the in-built Terminal command line.

Port

By default, the VPS can be accessed through Port 22.

The port can and should be changed to some other port using the method indicated here.

Leave a Reply

Your email address will not be published. Required fields are marked *