Skip to content
MZPanel Local A single-server web console that the box serves itself, for managing one server when the control plane is unreachable. How to turn it on over SSH, sign in, what it can do, and how it stays safe.

MZPanel Local

MZPanel Local is a small web console served by the server itself, for that one server only. It is the break-glass path: if app.mzpanel.com is unreachable, you can still keep what runs on your box healthy (restart services, renew SSL, run or restore a backup, fix a site) from a browser, without the fleet dashboard. It is on every plan and needs agent 0.2.133 or later.

It is not a second dashboard: there is no fleet, team, billing, marketplace or AI. It covers what you need to run one normal VPS by hand.

  1. SSH into the server and run:

    Terminal window
    mz console on --for 4h

    MZPanel picks a random high port, gets a certificate, opens the port in the firewall and prints the URL, the certificate fingerprint and a one-time sign-in link.

  2. Open the link. It works once and expires quickly.

  3. When you are done:

    Terminal window
    mz console off

Useful options and commands:

CommandWhat it does
mz console on [--port N] [--domain host] [--for 4h] [--allow-ip CIDR]Start the console. --allow-ip limits the firewall rule to your IP; --domain gets a Let’s Encrypt certificate for a hostname; --for sets the auto-off window
mz console loginPrint a fresh one-time sign-in link
mz console statusOn or off, URL, port, active sessions, time left
mz console offStop it, close the port, end all sessions

The console turns itself off after 24 hours by default. The server’s Settings page in the dashboard has a Local console card that shows its status, the SSH commands to copy, and a Turn off button.

  • One-time link from mz console on or mz console login. Running the command already needs SSH, so the link inherits your SSH login. This is the main method.
  • SSH password: the console checks the user and password against the box’s own sshd. It follows your sshd policy exactly: if password login is disabled, this method is unavailable. Only root and members of sudo (or wheel / admin) are admitted.

There is no cloud sign-in, on purpose: it would not work exactly when the console is needed.

  • Overview: live CPU, RAM, disk and load, services up or down, sites, containers and stacks, certificate expiry, last backups and recent faults.
  • Operate: restart nginx, PHP-FPM, MariaDB, Redis, containers and stacks; issue and renew SSL; run a backup now and restore a snapshot; clean up disk; maintenance mode; purge caches; read site, nginx, PHP, service and container logs.
  • Manage: create, delete and clone sites, domains and aliases, PHP version, SSL; WordPress core, plugin and theme updates; databases and users; files (browse, edit, upload, download, archive); Docker apps and stacks (start, stop, logs, edit compose, redeploy); mz cron jobs; PHP extensions and ini.
  • Advanced: firewall rules, Fail2ban unban, SSH keys, OS updates.

Backup job definitions are read-only in the console (they belong to the control plane), but run-now and restore work. Not available in the console: the web terminal (you already have SSH), phpMyAdmin and pgAdmin, mail management, the marketplace, and everything fleet-wide.

  • Off by default and started only from SSH. The cloud can turn it off but cannot turn it on or mint sign-in links from the dashboard.
  • TLS always: a short-lived Let’s Encrypt certificate for the server’s IP, or for --domain, with a self-signed certificate and printed fingerprint as the fallback.
  • Narrow exposure: a random high port, --allow-ip, a per-IP login rate limit and a Fail2ban jail, idle session timeout, CSRF protection and a strict content policy.
  • Limited power: the web process runs unprivileged and asks a root helper to run only a fixed list of actions. It cannot reconfigure or re-enable itself.
  • Audited: console actions are uploaded to Team > Activity when the control plane is reachable.

The console is meant to be driven from the box, so there is little to automate:

  • On the box: mz console on|login|status|off as above.
  • Over the API: console.status and console.off run through jobs_create. console.on and console.login are never available to API tokens, because they open a root web console and print a sign-in link.
  • The browser warns about the certificate. Compare the fingerprint printed by mz console on before you continue, or use --domain for a trusted certificate.
  • Password sign-in is missing. sshd doesn’t allow password login, or doesn’t listen on loopback. Use mz console login.
  • --port must be 1024 to 65535. The console runs without permission to bind low ports.
  • It switched itself off. The default window is 24 hours. Start it again, with --for if you need longer.