# SSH collector key setup `SshHostCollector` (`apps/api/src/collectors/sshHost.ts`) monitors boxes Proxmox can't see — currently `omv` (192.168.1.180) and `ripper` (192.168.1.171). ## Key Dedicated ed25519 keypair, generated on CT122 (not reused from any personal key): `/opt/homelab-monitor/ssh/monitor_ed25519{,.pub}`, mounted read-only into the `api` container at `SSH_PRIVATE_KEY_PATH` (see `.env.example`). ## Forced command (defense in depth) Each remote `authorized_keys` entry sets `command="...",no-pty,no-port-forwarding,...` so the server **ignores whatever command the client requests** and always runs a fixed read-only script instead. A leaked key can only ever produce these stats — not shell access, not other commands. - `omv:/root/.ssh/monitor-readonly.sh` - `ripper:/home/jhodgkin/.ssh/monitor-readonly.sh` Each script emits `NPROC=`, `LOAD1=`, `MEMLINE=total:used`, `UPTIME=`, and one `DISK_