Installing the Agent
Get the Vigilhold agent running on a new server in under a minute.
Requirements
A Linux server with systemd (or OpenRC on Alpine), on x86_64 or ARM64 (other CPUs only with your own Node.js 20 or newer), and root to install. Supported: Ubuntu 20.04+, Debian 11+, RHEL 8+ and compatible (Rocky, AlmaLinux, CentOS Stream), Fedora, Amazon Linux 2023, Arch, Alpine 3.19+ (run apk add bash curl first), and Docker hosts (see Docker Hosts). Not supported: Amazon Linux 2, and CentOS or RHEL 7.
The installer brings the agent its own Node.js runtime (a pinned nodejs.org build, checked against its SHA-256) and leaves the host's Node alone. The agent's dependencies come prebuilt, so nothing is compiled on your server.
Network: outbound only — HTTPS (443) to __DASHBOARD_HOST__ and TCP 8443 to the Vigilhold nodes. During install it also needs nodejs.org and your distribution's package mirrors. No inbound ports are opened.
Memory: the minimum is 512 MB. On a small server the agent automatically runs a lighter set of checks and collects less often, and ClamAV scans don't run. For the full set of checks, plan on 2 GB or more.
Installation
Create a free account, then on Hosts press Add host and Generate install command. Copy the one-line install command and run it on the target server:
curl -fsSL https://vigilhold.com/install-agent.sh | bash -s -- --token YOUR_TOKEN --dashboard wss://__DASHBOARD_HOST__/agent-ws
The script checks the bundle's SHA-256 checksum, installs the agent's runtime, and registers it as the sentinel-agent service (systemd, or OpenRC on Alpine); later updates are checked against Vigilhold's release signature.
To cap what Vigilhold may ever do on this host, add --limits, e.g. --limits "observe respond": the host then refuses system changes and remote terminals even if Vigilhold's own servers ask. The limit lives in a root-owned file (/etc/vigilhold/host-limits) that Vigilhold cannot change.
The command works as root, or as a user who can sudo: the installer then runs itself through sudo. Alpine has no sudo by default, so run it as root there.
What the installer adds
Everything it puts on your server, so you can decide before running it. The names say "sentinel" because that was the product's earlier name.
A user. sentinel-agent, a no-login system user the agent runs as, added to the adm group to read authentication logs. On Alpine it also gets read access to /var/log through an ACL.
Two running services. sentinel-agent, the agent. vigilhold-warden, a small root service that does a fixed set of tasks for the agent, such as address blocks, process stops and quarantine, under rules no command can override.
Root helpers that start when needed. sentinel-agent-update installs signed updates. sentinel-agent-harden applies hardening you approved. sentinel-agent-snapshot keeps a read-only copy of root-only files for the agent (/etc/shadow without password hashes). They run from systemd path and timer units. On Alpine, a vigilhold-tasks service does these jobs.
Malware scanners. Added whatever the size of your server:
- System — Packages
- Debian, Ubuntu — rkhunter, unhide, clamav
- RHEL family, Fedora, Amazon Linux — rkhunter, clamav, clamav-update (RHEL needs EPEL; skipped without it)
- Arch — clamav
- Alpine — clamav, busybox-openrc (runs crond)
The clamav-scan.timer unit scans every 6 hours as root at the lowest priority (on Alpine, an hourly cron script checks whether a scan is due), and the distribution's clamav-freshclam service keeps signatures current. A scan uses about 1 GB of memory while it runs and skips its turn unless about 1.5 GB is free.
Other packages. inotify-tools, and e2fsprogs if chattr is missing. On Alpine also coreutils, openssl, e2fsprogs-extra, libstdc++, libgcc and acl.
Files.
- /opt/sentinel-agent: the agent, its secret and its client certificate
- /usr/local/lib/sentinel-agent-runtime: the agent's own Node.js
- /usr/local/lib/sentinel-agent-updater: the warden and updater
- /usr/local/libexec/vigilhold-*: the scan and scanner-setup scripts
- /usr/local/bin/vigilhold-uninstall and sentinel-metric
- /var/log/sentinel-agent and /var/log/vigilhold-warden
- /var/lib/sentinel-*: state for the helpers and scan results
- /etc/vigilhold/host-limits, if you used --limits
- A few decoy tripwire files in system directories
Some of the agent's files are made immutable (chattr +i) so it can't change its own code. The installer opens no ports. Firewall rules change only when Vigilhold bans, isolates or locks down.
Turning the scanners off
There is no install option to leave them out. To turn them off afterwards:
sudo systemctl disable --now clamav-scan.timer clamav-freshclam
sudo rm /etc/systemd/system/clamav-scan.timer
On Alpine, as root:
rc-update del freshclam default; rc-service freshclam stop
rm /etc/periodic/hourly/vigilhold-clamav-scan
Then remove the packages with your package manager if you want the space back. You lose malware and rootkit scans; the agent's other checks keep running.
Removing the agent
On the server:
sudo vigilhold-uninstall
If that command isn't there, as on agents installed before November 2026, use:
curl -fsSL https://vigilhold.com/uninstall | sudo bash
On Alpine, run either one as root without sudo. The same uninstaller handles systemd and OpenRC.
It removes the agent, the warden, the helpers, their services, the user, the tripwire files and the firewall rules the agent tagged. It leaves the packages it installed and the addresses it banned, and tells you how to review those. A few small state folders under /var/lib stay too. To remove the server from the dashboard: Hosts → the host → Remove server.
Verifying the connection
The install takes under a minute. The server then appears on Hosts as soon as the agent connects. If it doesn't appear, check the agent logs: journalctl -u sentinel-agent -f (on Alpine: tail -f /var/log/sentinel-agent/agent.log)
If the install stops
The installer says why it stopped. What each message means:
"Run as root" — run the command with sudo.
An unsupported OS — the installer stops with a message naming your OS when it is not supported. See Requirements for the list of supported systems.
"<OS> <version> is not supported: its systemd is too old" — upgrade the server to a newer release of its OS.
"This server's clock is off" — turn on time sync (timedatectl set-ntp true, or start chronyd) and run the installer again.
"This system isn't running systemd" — you are probably inside a container. Run the installer on the host itself; on a Docker host, use the Docker command from Add host.
"Could not reach Vigilhold" — the server can't open outbound HTTPS to __DASHBOARD_HOST__. Check a firewall or proxy with: curl -I https://vigilhold.com
"Vigilhold refused this install (HTTP 401)" — the install token is wrong, expired or already used. Each token installs one server: create a new one under Add host.
"(HTTP 402) Server limit reached" — your plan's server limit is reached. Remove a server or change plan under Settings → Billing.
"Failed to download agent bundle" — the download was tried five times. Run the same command again once the network is fine; the token stays valid for this server until its agent first reports in.
"Couldn't download Node.js" — allow outbound HTTPS to nodejs.org (unofficial-builds.nodejs.org on Alpine) and run the installer again.
Anything else — send the installer's output to support@vigilhold.com.
If the server doesn't appear
Check that the agent is running: systemctl status sentinel-agent (on Alpine: rc-service sentinel-agent status)
Read what it says about connecting: journalctl -u sentinel-agent -n 50 (on Alpine: tail -n 50 /var/log/sentinel-agent/agent.log)
The agent needs outbound TCP 443 to vigilhold.com (8443 to the Vigilhold nodes is its fallback). It signs every connection with the time, and Vigilhold refuses one more than 30 seconds off, so a server whose clock has drifted can't connect: check it with timedatectl and turn on NTP (timedatectl set-ntp true).
Updating the agent
Agents update themselves when a new version is released. In Settings → Fleet you choose when each host takes a new version (its update ring: early, standard, cautious or paused), and Update now updates a host straight away.
Tips
- Each token installs one server and expires after 30 days. Create a new one for each server.
- The agent is capped at 10% of one CPU core and 1 GB of memory, and normally uses far less. Each host's page shows its agent's actual usage.
- Uninstall with one command: sudo vigilhold-uninstall (see Removing the agent). It lists what it leaves and how to remove it.