Learn how to reset your VPS to a fresh operating system installation.
Reinstalling your VPS will permanently delete ALL data on your server. Make sure you download any files you want to keep before proceeding.
MAKE SURE YOU DOWNLOAD WHATEVER YOU WANT TO SAVE TO YOUR COMPUTER. Once you reinstall, your data cannot be recovered.
After reinstallation, a new root password will be generated. You can find it:
yum update
# or
apt-get update && apt-get upgradeIf you can't connect after reinstalling: