What's new
Remotecmd sidecar (v1.1.0)
New tinystats sidecar subcommand — provisions remotecmd connections without SSH access.
tinystats sidecar --port 9096Exposes POST /__rcmd/pair endpoint that:
- Downloads the
rcmdbinary from GitHub releases (cached in$TMPDIR/.rcmd-cache/) - Runs
rcmd pair accept --code <code> --activation-key <key> - Spawns
rcmd daemon start -daemondetached (survives the HTTP request)
Security
- Relay URL allowlist (
RCMD_ALLOWED_RELAYSenv, default*.intrane.fr) — sidecar validates relay URL before doing anything - Activation key — enforced by the relay
- Pair code — single-use, 300s TTL
- Rate limiting — 1 valid request per minute
Binary size
79 KB stripped (was 71 KB in v1.0.1 — +8 KB for the sidecar logic).
Files
tinystats-linux-amd64— 79 KB stripped binarySHA256SUMS.txt— checksums
Generated with Devin