How to reboot your server, use the VNC console, rescue mode or reinstall the OS
Sometimes a VPS or dedicated server stops responding, you lose SSH access after a firewall mistake, or you want to start again with a clean system. This guide explains the tools you can use: a normal reboot, the VNC/console for access without SSH, rescue mode to repair a server that does not boot, and OS reinstall to start from scratch.
1. Reboot the server
From SSH (the clean way, because services stop properly):
sudo reboot
# or schedule it, with a warning to logged-in users:
sudo shutdown -r +5 "Server will restart in 5 minutes"
From the client area: open your service page and use the power controls if they are available for your plan. A forced reset or power-off is like pulling the plug, so use it only when the server does not respond to SSH.
After the server comes back, check that everything started:
uptime
systemctl --failed
journalctl -b -p err
2. Use the VNC / web console
The console shows the server screen as if a monitor were connected. It works even when SSH or the network is broken, for example when:
- you blocked your own IP in the firewall or Fail2ban;
- you changed the SSH port or SSH settings and cannot log in;
- the server is stuck at boot and you want to see the error message.
Log in with the root user and password (SSH keys do not work in the console). If the keyboard layout looks wrong, type slowly and avoid special characters in the password.
3. Boot into rescue mode
Rescue mode starts the server from a small temporary system so you can reach your disk when the main system does not boot. Use it to fix a broken /etc/fstab, reset the root password, or copy important files.
lsblk -f # find your main disk/partition
mkdir -p /mnt/sys
mount /dev/vda1 /mnt/sys # example name; use the one lsblk shows
cat /mnt/sys/etc/fstab # check or fix the file
umount /mnt/sys
When you finish, leave rescue mode (or ask support) and reboot normally.
4. Reinstall the operating system
- Back up your data and store the backup outside the server.
- Choose the operating system (for example AlmaLinux) from the reinstall option in your service page, or request it in a ticket.
- Wait for the reinstall to finish and use the new root password you receive.
- Follow First steps after you receive your VPS and How to secure your Linux server again.
Common problems
- The server does not come back after a reboot: open the console and read the boot messages. A wrong line in
/etc/fstabis a common cause; fix it from rescue mode. - SSH says "host key changed" after a reinstall: this is normal, because the server has new keys. Remove the old key on your computer with
ssh-keygen -R SERVER_IP. - The console shows a black screen: press Enter or move the mouse to wake it.
Frequently asked questions
Will rebooting delete my data?
No. A reboot only restarts the system. Only a reinstall erases data.
Can I reinstall a cPanel server myself?
A reinstall removes cPanel too. If your server has a cPanel license, contact support before you reinstall so the license and setup can be arranged.