-
Notifications
You must be signed in to change notification settings - Fork 0
Onboarding Hosts
Adding a machine is one copy-paste. The hub serves the agent binary itself, so there's nothing to download by hand and no tokens to copy around.
- In the dashboard, click + Add host (top bar).
- Copy the one-liner for the machine's OS.
- Run it on that machine.
The commands come pre-filled with your hub's address and enroll token:
Linux — server / headless
curl -fsSL "http://<hub-ip>:8765/install.sh?token=<enroll>" | sudo shLinux — desktop (adds screen sharing; no sudo — runs in your session)
curl -fsSL "http://<hub-ip>:8765/install.sh?token=<enroll>&desktop=1" | shWindows — run in a normal PowerShell (no admin needed), signed in as the user who sits at the console:
iwr -useb "http://<hub-ip>:8765/install.ps1?token=<enroll>" | iexOn Windows this installs a small system-tray app: a status icon (● connected to the hub / ○ disconnected) that starts automatically at every logon via a per-user registry Run key — no admin, no scheduled task. On Linux the script installs a systemd service. Either way the host appears on the dashboard within a few seconds.
| Headless / server | Desktop | |
|---|---|---|
| Install |
sudo sh (system service) |
&desktop=1, no sudo (user session) |
| Metrics, terminal, exec, scripts | ✅ | ✅ |
| Screen sharing (Remote) | ❌ (no display) | ✅ |
A headless host shows up as monitor-only — the Remote button is disabled because there's no graphical session to stream.
Agents auto-update to match the hub — on Windows via the tray, on Linux via the systemd service (it downloads the new binary and exits; systemd relaunches it). Each update is validated first: the downloaded binary must be the right size, a real executable, and report the hub's exact version when run, or it's rejected and the current agent keeps running. So to roll out an upgrade, just update the hub — the fleet follows within a few hours (or force one host now from the Windows tray → Update to latest).
If you'd rather not pipe a script, grab the agent from a release (or
/download/agent) and run it directly:
autormm-agent --server http://<hub-ip>:8765 --token <enroll> --tags web,prodHandy flags: --id (stable name, defaults to hostname), --tags,
--allow-exec=false (disable remote command/terminal on this host),
--insecure (skip TLS verify for self-signed certs).
Stop and remove the agent service on the host:
sudo systemctl disable --now autormm-agent # headless
systemctl --user disable --now autormm-agent # desktopIt will show as offline on the dashboard.