Repository navigation
kevward 0.16.0
kevward ssh-gate, a restricted forced command for collection and console
SSH keys (#185), and config validation that reports settings kevward would
otherwise silently ignore (#186).
-
kevward ssh-gate(#185). A forced command for collection and console
SSH keys, using the same one-request JSON envelope as stille-pro
dispatch.- It is off unless
[ssh_gate] enabled = true. - The
readrole (no sudo) offersversion,report.get(HTML or JSON),
config.getandconfig.schema(every key, type, default, help text and
whether it is writable). - The
operaterole (sudo -n, exact-match sudoers) addsconfig.set. config.setonly writes an allowlist of keys that cannot weaken
detection or protection and are not paths.- It refuses a write if the file changed since
config.get(conflict),
or if kevward's own loader or the #186 validation rejects the result. - It keeps the last 10 backups, replaces the file atomically, and logs each
change to syslog and/var/lib/kevward/ssh-gate-changes.jsonl. - The report shows each change for 7 days.
auditrecognises the gate's own forced commands.
- It is off unless
-
Config: ignored settings are reported (#186). On 2026-11-22
allowed_outboundwritten below a new[report]table became
report.allowed_outboundand was dropped without a word, so expected tor
connections were listed as "unexpected outbound". Unknown tables, unknown
keys and known keys in the wrong table now produce a warning ("unknown
settingallowed_outboundin [report]; ignored — did you mean [audit]?") on
stderr for every command, a MEDIUM finding and a note on the config line in
the report, andconfig_warningsin the JSON. Loading still continues. The
audit section shows how manyallowed_outbound/allowed_forced_commands
rules were loaded (audit_rulesin the JSON).