feat(ssh): auth-side SSH preflight - key presence, known_hosts steer, identity probe #333
No reviewers
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea!333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-296-ssh-preflight-key-knownhosts-identity"
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?
Summary
Adds the read-and-teach SSH preflight (internal/service/ssh): a usable-key check (ssh-agent or ~/.ssh, directory listing only - no key material read), a known_hosts presence check that teaches first-contact fingerprint verification on absence, and an
ssh -T git@hostprobe that names the authenticated user from the greeting. Wired into auth login (ssh modes, interactive setup) and whoami on both CLI and MCP surfaces; the dir= carve-out skips the probe. No key generation, no known_hosts writes - a structural test guards the no-write promise. The greeting username is control-char-stripped before rendering and the success line names the probe's trust boundary.Closes #296.
Closes #296