Skip to contentcloudvix
cloudvix
Dashboard & API tipServers & hosting

How to reinstall a Linux server and log in again

Denys DunaievskyiFounder, Cloudvix
  • 1 min read
  • Published
  • LevelIntermediate
Dashboard & API tips
On this page

Key takeaways

  • The server keeps its plan and its addresses; everything on its disk is erased.
  • Copy off anything you want to keep, such as databases, uploads and configuration files. There is no way back once the disk is written.
  • When the server is ready, log in as root with the same key: ssh root@ followed by the IPv4 address. If your computer warns that the host key changed, that is expected after a reinstall: remove the old entry from known_hosts.

A reinstall puts a fresh system on the server while the server itself stays. It is the quickest way back from a broken setup, and it takes your SSH key.

What a reinstall does

The system is written again from the image you pick. The server keeps its plan and its addresses; everything on its disk is erased.

Before you start

Copy off anything you want to keep, such as databases, uploads and configuration files. There is no way back once the disk is written.

How to do it

Linux servers can be reinstalled any time with your SSH key, from the dashboard or the API. Pick the system and the key, and confirm.

Log in again

When the server is ready, log in as root with the same key: ssh root@ followed by the IPv4 address. If your computer warns that the host key changed, that is expected after a reinstall: remove the old entry from known_hosts.

About the author

Denys Dunaievskyi

Founder, Cloudvix

Runs Cloudvix and is responsible for the guides published here.

Related guides

Your server is a few clicks away.

Choose the plan and the system in one order form; the location too, when there is more than one.

Create server