Reinstall your server
Start over with a fresh operating system. Your IP stays; everything on the disk is erased.
Reinstalling replaces the operating system and erases all files, databases and websites on the server. The IP address stays the same.
Copy anything you need off the server first.
Open the server → Settings → Reinstall operating system.
Choose the operating system and the SSH key(s) to install, then type the server name to confirm.