Locked Out? Get Back In with the VPS VNC Console
If SSH or Remote Desktop goes quiet after a change to a port, a firewall rule or the network settings, you can still reach the server through the VPS VNC console. It puts the server's own screen in your browser, much like plugging in a monitor and keyboard, so SSH, RDP and the firewall don't matter. Every OrbitServers VPS includes web-based VNC; dedicated servers have IPMI/KVM for the same job.
Open the VPS VNC console
- Sign in to the client area and open Services.
- Pick your VPS and click View Details.
- Hit VNC Access on the Product Details page.
A console window opens in your browser tab. Log in there with the account on the server itself, which is root for Linux and Administrator for Windows. There are no separate console credentials. On a Windows login screen, use the Insert Username and Insert Password buttons at the top right of the console. Can't remember that password? Click Reset Root Password on the same page first.
The console has no copy and paste, so type commands by hand. Use it to get access back, then return to SSH or Remote Desktop.
Fix the most common lockouts
You switched SSH to a different port. First check which port the SSH service (sshd) really uses, then make sure UFW, Ubuntu's built-in firewall, lets it through:
sshd -T | grep -i '^port'
ufw allow 2222/tcp
Swap 2222 for whatever port the first command printed. Ubuntu 22.10 and later can hand SSH over to ssh.socket, which sticks to the previous port until systemctl daemon-reload and systemctl restart ssh.socket have been run.
UFW went on and SSH wasn't allowed. ufw allow OpenSSH fixes it (use your custom port if you moved it); ufw status shows whether the rule took.
Remote Desktop now listens on a new Windows port. Check in wf.msc for an inbound rule covering that port, with your IP address in the rule's scope. The firewall rule is built click by click in our guide to securing Windows Server. Used Orbit RDP Guard to lock things down? Launch it from the console and allow your current IP.
Power buttons on the same page
- Restart gives the server a reboot.
- Stop asks the operating system for a clean shutdown.
- Power Off drops the power on the spot, just like yanking the cord. Use it only for a server that no longer responds, because unsaved work can be lost.
- Start brings a stopped server back up.
Still locked out?
Login prompt on the console, but SSH or Remote Desktop still won't come back whatever you change? A fresh install with Reinstall starts you clean. It wipes the disk, so pull your data off through the console beforehand. Or open a ticket and tell us the last thing you changed.
Was this article helpful?
Written by Julius · Product Manager