Install the connector
The Vesper Connector is a single static Go binary that runs on your Wazuh node and gives the agent its hands and eyes. It is strictly outbound: it dials Vesper over mTLS and keeps that session alive. Nothing ever connects into your network, and the Wazuh credentials it uses never leave the machine.
Requirements
- A Linux host on the Wazuh deployment (the connector targets
localhostby default, so install it on the Wazuh node itself). x86_64orarm64.systemd,curl(orwget), and root to install.- Outbound HTTPS/WSS egress to
dl.vesper.wazuh.com(download) andconnect.vesper.wazuh.com(the connector session). No inbound rules.
Install
Copy the install command from the environment's card in the console (it embeds the environment's single-use enrollment token; see Environments):
curl -fsSL https://dl.vesper.wazuh.com/install.sh | sudo bash -s -- \
--token=<ENROLLMENT_TOKEN> --connect=wss://connect.vesper.wazuh.com
The installer, all locally and outbound-only:
- downloads the static
vesper-connectorbinary for your architecture (and verifies its published SHA-256 checksum whensha256sumis available), - creates the service state directory and stages the connector CA,
- writes
/etc/vesper/connector.yamlwithlocalhosttargets and blank credentials (they are auto-discovered on the host; see configuration), - enrolls once with the token, which issues the connector's mTLS identity and stores it locally, and
- installs and starts the
vesper-connectorsystemd service, which from then on runs tokenless.
Optional flags:
--enable-execallows the agent to run gated shell commands on this host (off by default; see configuration before using it).VESPER_DOWNLOAD_BASE=<mirror>overrides the download base for staging or air-gapped mirrors.
Verify
systemctl status vesper-connector
journalctl -u vesper-connector -f
Within a heartbeat interval (30 seconds) the environment should show online in the console, along with the cluster metadata the connector reported.
Troubleshooting enrollment
enrolment failed (token expired or already used? mint a new one) means
exactly that: tokens are single-use. Mint a fresh one from the environment
card and re-run the installer; an existing /etc/vesper/connector.yaml is
kept, not clobbered.
Uninstall
curl -fsSL https://dl.vesper.wazuh.com/uninstall.sh | sudo bash # keep config
curl -fsSL https://dl.vesper.wazuh.com/uninstall.sh | sudo bash -s -- --purge # remove everything