Four NEW agent-native CLI harnesses that answer the four "what does this machine actually trust over SSH" questions every server agent runs into but usually improvises: what does the sshd_config really say (effective directives the way sshd reads them, shadows named, Match blocks separate, Includes expanded with provenance), who is actually authorized (authorized_keys census with key sizes computed from key material, fingerprints byte-comparable with ssh-keygen, forced commands surfaced verbatim), what does this machine already trust (known_hosts census with hashed hostnames kept HASHED), and what shape is the key directory in (keypair hygiene with private files seen through metadata only — contents never opened). Every answer is read from on-disk truth — nothing is executed, nothing is written, nothing is fetched.
PermitRootLogin you thought was live), documented multi-value keywords (Port, ListenAddress, HostKey, AcceptEnv, allow/deny lists) keep ALL occurrences effective, Match blocks parsed in place with criteria verbatim so per-match overrides are never merged into global truth, Include chains expand depth-first (every candidate base and resolved file reported, empty matches counted with reasons, depth-capped and cycle-guarded), highlights for the questions agents actually ask. Values verbatim — sshd has no trailing comments, so a # inside a value is part of the value.command="echo hi, there" keeps its comma), key type verified against the blob's wire type, public-key size COMPUTED from key material (RSA modulus bit length, DSS prime, Ed25519 fixed width, ECDSA curve), OpenSSH-style SHA256 fingerprints, forced commands (command=) surfaced verbatim — that line runs a program INSTEAD of a shell — from= restrictions, cert-authority and restrict flags, and the same key authorized twice surfaced as a duplicate group.|1| salt-hash entry is detected and carried as opaque strings; the salt and encoded name are never decoded, because revealing hashed hostnames defeats the privacy of the hashing. Host-key reuse across hosts is a duplicate group; port notation and wildcards censused.sshdpeek (what sshd enforces) → authkeyspeek (who is authorized to get in) → hostkeyspeek (what this machine already trusts going out and coming in) → keyringpeek (whether the key directory itself is in hygienic shape). Four stages; the machine's SSH trust posture read end to end.
Unzip the pack and copy each skill folder (the one containing its SKILL.md) into your agent's skills directory:
cp -r sshdpeek authkeyspeek hostkeyspeek keyringpeek ~/.openclaw/skills/
Works with OpenClaw, Claude Code, Codex, or any Agent-Skills-convention runtime. Every skill also runs as a plain CLI (Python 3.8+, standard library only; no agent needed):
python3 sshdpeek/agent-harness/cli_anything/sshdpeek/__main__.py --json python3 authkeyspeek/agent-harness/cli_anything/authkeyspeek/__main__.py --json python3 hostkeyspeek/agent-harness/cli_anything/hostkeyspeek/__main__.py --json python3 keyringpeek/agent-harness/cli_anything/keyringpeek/__main__.py --json
Every skill ships a self-test battery — synthetic fixtures plus live fire on the running host:
python3 runner_count.py sshdpeek/agent-harness/cli_anything/sshdpeek/tests/test_core.py python3 runner_count.py authkeyspeek/agent-harness/cli_anything/authkeyspeek/tests/test_core.py python3 runner_count.py hostkeyspeek/agent-harness/cli_anything/hostkeyspeek/tests/test_core.py python3 runner_count.py keyringpeek/agent-harness/cli_anything/keyringpeek/tests/test_core.py
128 + 98 + 82 + 94 = 402 checks, 0 failed. The counting runner prints CHECKS_EXECUTED / FAILED / ERRORS and exits nonzero on any failure.
Nothing is executed (no sshd, no ssh, no ssh-keygen), nothing is written, no sockets, no signals, zero subprocesses. Private key contents are never opened — metadata only. Hashed hostnames are never decoded. Unusable inputs are named refusals (the exit contract is printed on every human report), never stack traces. Read-only, always.
Apache 2.0. Source included.