LibrePortal
Sponsor Get started

Get back into a server

What to do when you cannot log in to your own server, even though its disk is encrypted. The app guides you, step by step, and does the work for you.

On this page
  1. Start it
  2. What you see
  3. When the app asks you something
  4. If something goes wrong
  5. Which companies work
  6. Keep these safe

You will not be locked out for good. Every server rented from a hosting company has a rescue system, a small temporary system that starts instead of your server and lets you look at the disk from outside. Using it by hand takes a lot of typing. The LibrePortal app does it for you, one step at a time, and shows you each step as it goes.

Use it when:

  • the app says it cannot sign in to a server, and nothing else on the card helps,
  • you lost the SSH key that logged in, or the root password,
  • you lost the WebUI login for the control panel,
  • the server keeps its disk encrypted, and you need to get back past that.

What you need

LibreVault, the password keeper that comes with the app, holds the disk password and your key. If it is locked, the app asks you to unlock it first, before it touches the server. If it does not hold the disk password, the app asks you to type it once, again before it touches anything.

Start it#

On a server the app cannot sign in to, the page shows the Get me back in card. When nothing gentler helps, its one big button is Recover this server. If the app can still get in, but you lost a password, open the server's Safer logins page and press Recover access.

You choose what to put back. These boxes are ticked for you:

  • This device's SSH key for root. So you can log in again.
  • The disk-unlock key. So you can unlock the disk after a restart, from the app.
  • A new root password. The app makes a long random one, keeps it in LibreVault and does not show it unless you ask.

You can also tick A new WebUI sign-in, for a lost control panel login. It is made at the very end, when the server is back.

Then press Recover this server. The app tells you the server will restart into rescue mode and be offline for a few minutes, and asks once. You type nothing to say yes.

What you see#

A checklist, with the step in progress at the top and a tick beside each finished one:

  1. Start the rescue system. The app asks your hosting company to start it, and restarts the server.
  2. Log in to the rescue system. With this device's key, or with a rescue password your company emails you.
  3. Look at the disk.
  4. Open the encrypted disk, with the password from LibreVault.
  5. Get your access back. What you ticked is put in place.
  6. Close the disk.
  7. Switch rescue mode off and restart. The server starts from its own disk again.
  8. Unlock the disk. The app does this with the same password.
  9. Check that you are back in. It logs in with your key and checks that the WebUI answers.

It takes about ten minutes. Nothing is deleted on the way. Every file the app changes gets a copy beside it, such as authorized_keys.bak-20261126-1030, so you can always put things back.

When the app asks you something#

The app only stops when it needs you, and it says exactly what for:

  • LibreVault is locked. Unlock it, then press Check LibreVault again. Nothing has been changed yet.
  • A rescue password. Some companies email a one-time password for their rescue system (or a link that shows it). Paste it. It is used once to put your key on the rescue system, and is not kept.
  • The disk password. If the one LibreVault holds is wrong, or it holds none, type the right one.
  • Your hosting company's panel. A few companies have no way for the app to start rescue mode. The app tells you what to press in their panel, you do it, and press Continue.

If something goes wrong#

A step that fails says why, in plain words. You can press Try again, and the app carries on from that step. You can always press Switch rescue mode off, which closes the disk and makes the server start from its own disk again, as it was.

If the app cannot find your server's own system on the disk, or the disk does not open, it changes nothing and says so.

Which companies work#

How the company works What you do
Starts rescue mode for the app and accepts a key Nothing. It is all automatic.
Starts rescue mode for the app and emails a password Paste the password once.
Shows a rescue login on its own page, which the app reads Nothing.
Has no way for the app to start it Press two buttons in the company's panel (on, then off), and paste the password it shows.
Has no rescue system at all Use the company's console. The app tells you so.

Everything else is the same for every company.

Keep these safe#

LibreVault now holds the new root password. Keep a copy of the disk password somewhere other than the server: a disk password that is lost cannot be recovered by anyone, including us.

Next steps