Create your free account, get a license key and pairing code, then install agents on up to two computers. Takes about three minutes.
Enter your email to get a Free license for 2 computers, a pairing code, and one Home Assistant ha API token. No card required.
fleet.yaml. It covers 2 computers and does not expire.ha)
ha. Using Home Assistant and OpenClaw at the same time requires Family or Pro.The server collects data from agents and serves the dashboard. Self-hosted only.
Add these to your fleet.yaml configuration:
# fleet.yaml
license_key: LSH-XXXXX-XXXXX-XXXXX-XXXXX
nodes:
- name: my-pc
host: 192.168.1.20
ssh: user@192.168.1.20
api:
enabled: true
listen: 0.0.0.0:8790
tokens:
ha: your-api-key
Then start the server. Download the binary from GitHub Releases:
# Linux x64
curl -L https://github.com/cgoberg/releases/releases/latest/download/leassh-server-linux-x64.tar.gz | tar xz
./leassh fleet.yaml
Docker option — the container image requires a GitHub login:
docker login ghcr.io # GitHub username + personal access token
docker run -d --name leassh-server \
-p 8383:8383 \
-v ./fleet.yaml:/app/fleet.yaml \
ghcr.io/cgoberg/leassh-server:latest
Install the agent on each computer you want to monitor. It connects to your server using the pairing code.
Run in PowerShell as Administrator
$env:LEASSH_CODE='ABC123'; irm https://leassh.com/install.ps1 | iex
Run in Terminal
curl -fsSL https://leassh.com/install.sh | sudo LEASSH_CODE=ABC123 bash
Run in terminal (Debian, Ubuntu, Fedora, Arch)
curl -fsSL https://leassh.com/install.sh | sudo LEASSH_CODE=ABC123 bash
Deploy the agent remotely without touching the machine
ssh user@machine "curl -fsSL https://leassh.com/install.sh | sudo LEASSH_CODE=ABC123 bash"