Commands / kosa8 worker pair
kosa8 worker pair
Print a pairing code another device can join this worker with
Usage
kosa8 pair --url URL
Prints kosa8 worker join CODE for a client to run. The code carries this
worker's URL — as the client will reach it, usually a TLS tunnel's address — and
its token. Treat the code like a password: anyone holding it can drive this
worker. Rotate it by deleting ~/.kosa8/worker-token and restarting the daemon.
Options
| Flag | Type | What it does | Default |
|---|---|---|---|
--insecure | bool | allow plain http to a non-loopback address (a private, trusted link only) | — |
--url | string | the URL the other device reaches this worker at (https://…) | — |