rootpilot-ssh-diagnose
v0.1.2Read-only SSH server diagnostics via a fixed 38-command whitelist; secrets redacted, no write path.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_hosts List configured hosts
List the hosts defined in your hosts.json, with an optional reachability probe (TCP + SSH banner). Returns names to use with the other tools.
| Parameter | Type | Description |
|---|---|---|
probe | boolean | also test SSH reachability |
get_whitelist List the read-only command whitelist
Return every command this server can run: key, purpose, shell template, and whether it needs a container argument. This is the complete set — nothing outside it can be executed.
collect Collect diagnostics by key
Run up to 8 whitelisted commands on a host and return their (redacted, truncated) output. Use get_whitelist to see valid keys. Keys outside the whitelist are rejected.
| Parameter | Type | Description |
|---|---|---|
host * | string | host name from list_hosts |
keys * | array | whitelisted command keys |
container | string | container name, required by container-scoped keys |
collect_base Collect the base overview
Shortcut: run the base group (docker_ps, df, df_inode, free, uptime, dmesg_oom, docker_daemon) — a cheap first look at a host.
| Parameter | Type | Description |
|---|---|---|
host * | string | host name from list_hosts |
container_deep_dive Deep dive into one container
Shortcut: for one container, run docker_logs, docker_inspect (redacted), container_state and docker_stats.
| Parameter | Type | Description |
|---|---|---|
container * | string | container name |
host * | string | host name from list_hosts |