(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.
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:
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:
(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.
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.