Locked out of the admin panel? How to recover access

For server administrators · Updated 2026-10-29

On this page
  1. Symptoms
  2. Causes and fixes
  3. Still not working?
  4. Common questions

If you cannot sign in to the administrator panel (https://<server>:2087), you can always regain access from the server's command line. You need root access over SSH (or your provider's console).

Symptoms

  • The password is refused at the Admin login.
  • You lost the phone with the authenticator app for two-factor sign-in.
  • The admin panel does not open at all from your address, while the customer panel on port 2083 does.
  • After several failed attempts, your address is blocked.

Causes and fixes

You forgot the password

Set a new one as root. The default administrator username is root (unless you chose another during installation):

sahaab passwd root 'N3w-Strong-Pass'

The password needs at least 8 characters and at least 3 of: lowercase, uppercase, digits, symbols.

If you never changed the password generated at installation, it is also in /root/panel-install-summary.txt (readable by root only).

You lost the two-factor phone

First try one of your 10 recovery codes: on the Verification step, enter a recovery code instead of the 6-digit code. Each code works once. If you have none left, turn two-factor sign-in off as root:

sahaab 2fa:disable root

Sign in with the password, then turn two-factor sign-in on again in Two-Factor Auth (section Account).

The admin panel is limited to certain IP addresses

When Admin panel access by IP is set in Brute Force Protection and your address changed, the admin panel does not open for you. Add your current address, or remove the restriction:

sahaab admin:allow-ip 203.0.113.25
sahaab admin:allow-ip clear

Your address was blocked after failed logins

After 5 failed logins in 15 minutes, an address is blocked for 15 minutes (the defaults in Brute Force Protection). Wait until the block ends, or sign in from another address and click Unblock under Blocked IPs.

Still not working?

  • Check that the panel's web server runs: systemctl status nginx, and restart it with systemctl restart nginx.
  • If you just changed the firewall and lost access, wait: an unconfirmed firewall change is undone automatically after 90 seconds.

Common questions

Can a reseller or customer recover their password the same way?

The administrator can set a new password for them in the admin panel, on the account or reseller page.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.