-
Notifications
You must be signed in to change notification settings - Fork 177
ASCII Box reused IP is blocked by provider-wide known_hosts state #1748
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Description
Activity
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.Exempts this issue from stale automation.
Type
Fields
Priority
None yet
Summary
ASCII Box SSH targets use the provider key directory's shared
known_hostsfile rather thanUseLeaseKnownHosts. When ASCII Box assigns a previously used public IP to a new VM with a different host key, a newcrabbox runremains inssh-authreadiness until its 20-minute timeout.Reproduction
Observed with Crabbox revision
da6484dc0ed73003ccc9850f40e4f170d7795590; inspection of currentorigin/main(c9cdc35987531d6f71c317693cb18cbbb0dbe8d9) shows ASCII Box still does not callUseLeaseKnownHosts.The provider reports the Box ready.
box sshsucceeds, and direct SSH with the ASCII Box key succeeds. Crabbox's exact probe fails withREMOTE HOST IDENTIFICATION HAS CHANGED, identifying the stale entry in the shared ASCII Boxknown_hostsfile. Removing only that IP withssh-keygen -R <ip> -f <ascii-box-known-hosts>lets the already-runningcrabbox runrecover immediately without starting a replacement Box.Expected
ASCII Box host trust should be scoped to the Crabbox lease, as it is for providers that call
UseLeaseKnownHosts, so ephemeral IP reuse cannot poison later leases while strict host-key verification remains enabled.