feat(seed): outbound SSH client material for hands-free node→mother #115
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "seed-ssh-client-material"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The baked mother key (#112) embeds a private key in the image — fine only for a non-published personalized stick. The offline FAT32 seed is the correct home for per-node secrets, and it also lets us solve the host-key trust gap that the baked key alone doesn't.
What
The importer now installs outbound SSH client material from an agent's
ssh/dir into the agent home:ssh/config~/.ssh/configHost motheraliasssh/known_hosts*~/.ssh/known_hosts*ssh/<name>.pub~/.ssh/<name>.pubssh/<name>~/.ssh/<name>authorized_keysstays inbound-only (unchanged, via_seed_install_authorized_keys).What this fixes
known_hostspins mother's host key, so the first connection doesn't stop on an unknown-host prompt — the actual "without manual key exchange" gap.Supersedes the baked-key path (#112), which can retire once this is validated on hardware. Leaving #112 in place for now per the current decision.
Test
Offline (
CLAWDIE_SEED_TEST=1, fake mount, two runs):0600,.pub/known_hosts0644,config0600,.ssh0700known_hostsstays a single line across re-runs (de-dup merge is idempotent)configinstalled verbatimsh -nclean; markdown format gate green.🤖 Generated with Claude Code