In the previous lesson, you learned about the secure shell i.e. SSH. Next important thing is that if you lose access to your server due to some security issue, you can use the recovery console provided to you to regain access (via SSH) to your Linux VPS or Dedicated Server.
For example, in a case, if you have been accidentally locked out by some new firewall or IP rule then a recovery console is the thing you will need to regain access to your server. But there also you will need to know your server username and password so that you can connect to your server via SSH.
But before that, you should know while working on Linux VPS, some steps to regain access are different from the actual steps of the recovery console on the Dedicated Server.
So, If you are a VPS user simply follow these steps:
- Login to your SANGKRIT.net account and visit your Products page
- On your My Products page, click Servers, and next to the server you like to use, click Manage button
- Now in the top left corner of the Account Dashboard, select Recovery Console
- Next press Enter and now you can now log into your server to make changes
Whereas on a Dedicated Server, log in to your SANGKRIT.net account and follow these steps:
- Click the Servers option on your My Products page
- Click Manage right next to the Server you like to use
- On the top-right corner, click Server Actions
- Select Recovery Console
It takes a moment for the Recovery Console and then it automatically launches in a new browser tab. You will have to use your SSH login credentials to get into your server to make the required changes.
Now, the next important thing you should know is in case logging in through the Recovery Console does not work for you or it is of no help to you then, you should try booting your server in Rescue Mode. We will discuss the Server Rescue Mode in our next lesson.