Docs

Install ServManager, secure it, build your phone remote, and fix the common snags.

On this page Requirements Install First login Dashboard tour Phone remote Scheduled scripts SSH terminals CLI reference Updating Security Troubleshooting Uninstall

Requirements

Install

One-liner (recommended)

curl -sSL https://raw.githubusercontent.com/SahilSidhu7/servmanager/main/install.sh | sudo bash

Fetches the latest release, installs system dependencies, builds the React frontend, creates a Python virtualenv, writes the systemd unit, and installs the servmanager CLI. Re-running it upgrades in place and preserves your data.

From source

git clone https://github.com/SahilSidhu7/servmanager.git
cd servmanager
sudo ./install.sh

.deb package

# grab the file from the latest GitHub release, then:
sudo apt install ./servmanager_<version>_all.deb

All three methods end the same way: the service is running on port 8080 and starts on boot.

First login

Open http://YOUR_SERVER_IP:8080/ and sign in:

FieldDefault
Usernameadmin
Passwordadmin
Remote PIN1234
Do this first: go to Settings and change the password and PIN. The password is stored hashed; the PIN is what unlocks the phone remote.

Dashboard tour

Phone remote

The remote lives at http://YOUR_SERVER_IP:8080/remote and unlocks with your 4-digit PIN.

  1. In Remote Designer, add widgets:
    • Script button — tap to run a script, output streams into a pull-up console
    • Live metric — CPU, RAM, disk, or uptime, updating in real time
    • Health indicator — a colored dot showing a scheduled script's last exit status
    • SSH terminal — one tap opens a terminal to a saved host
  2. Click Save layout — a QR code appears.
  3. Scan it with your phone, enter the PIN.

Saved SSH hosts also appear automatically at the bottom of the remote under Terminals — no widget needed.

Scoped access: the PIN issues a restricted token. The remote can view stats and run scripts, but it cannot create or edit scripts, change settings, or read credentials.

Scheduled scripts

In any script's editor, enable Run automatically on a schedule and set an interval in seconds (minimum 5). The built-in scheduler runs it on that cadence and pushes results to every connected client — no cron needed.

Pair a scheduled script with a Health indicator widget: exit 0 shows a green dot, non-zero shows red. The bundled Server Health Check script is a working example.

SSH terminals

Add a host under SSH Hosts (label, host, port, username, password). Click the terminal button to open a full xterm.js session in the browser — desktop or phone.

Requires the asyncssh Python package; the installer sets it up. Without it, everything else works and SSH shows a clear error message. If you installed manually:

/opt/servmanager/venv/bin/pip install asyncssh
Credentials: host passwords are stored in /opt/servmanager/data.json (mode 600, root-only) so the server can open sessions for you. Only save hosts you'd trust this box with.

CLI reference

Installed system-wide as servmanager. Commands that change the system need sudo.

CommandWhat it does
servmanager start / stop / restartControl the systemd service
servmanager statusService health
servmanager logsTail live logs (journalctl)
servmanager enable / disableAutostart on boot
servmanager set-port 9090Change the port and restart
servmanager set-pin 5678Change the remote PIN
servmanager set-auth user passReset admin credentials
servmanager updateUpgrade to the latest GitHub release
servmanager info / versionPaths, URLs, installed version

Updating

sudo servmanager update

Downloads the latest release and re-runs the installer in place. Your data.json — scripts, layout, settings, history — is preserved. .deb users can instead install the new package over the old one.

Security

Run it on your LAN, home lab, or a VPN like Tailscale. If you must expose it publicly, put it behind a reverse proxy with TLS and strong credentials.

Troubleshooting

Can't reach the dashboard

sudo servmanager status     # is the service running?
sudo servmanager logs       # what does it say?

Check your firewall allows the port (sudo ufw allow 8080 on Ubuntu).

Port already in use

sudo servmanager set-port 9090

SSH terminal says "asyncssh not installed"

/opt/servmanager/venv/bin/pip install asyncssh
sudo servmanager restart

Forgot the admin password

Reset it from the server's own shell:

sudo servmanager set-auth admin newpassword

Blank page / "Build the React frontend"

The frontend wasn't built. Re-run the installer, or:

cd /opt/servmanager/frontend
sudo npm install && sudo npm run build
sudo servmanager restart

Uninstall

.deb install

sudo apt remove servmanager    # keep data.json
sudo apt purge servmanager     # remove everything

Script install

sudo systemctl stop servmanager
sudo systemctl disable servmanager
sudo rm -rf /opt/servmanager
sudo rm /etc/systemd/system/servmanager.service /usr/local/bin/servmanager
sudo systemctl daemon-reload