Expand description
Prepare / upload remote CLI, run commands, and install payload.
Structs§
- Remote
RunOutcome - Result of a remote CLI run (log text plus optional captured status-api bearer).
Functions§
- ensure_
remote_ cli - Ensure a current CLI on the box: reuse when version matches, otherwise SCP once.
- maybe_
install_ key - prepare_
remote_ agent - Prepare OpenSSH session and local tip bins; SCP CLI only when box is stale/missing.
- remote_
ensure_ ssh_ key - Opt-in: install the tip pubkey on the box (
ssh-copy-id). - remote_
install_ payload - Copy CLI + TUI + status-api (+ MCP when present) into
install_dirand enable units. - remote_
run_ cli - Upload the CLI agent (if needed), optionally install a public key, run a remote CLI command.
- remote_
setup_ run - Convenience: remote
setup runwith optional payload install. - remote_
upload_ cli - Upload the PC CLI to the box agent dir (s0 / explicit sync).
- upload_
remote_ cli