Skip to content

fleet: hosts in a hashed ~/.ssh/known_hosts are reported as 'not in known_hosts' #71

Closed

Description

@ralyodio

diskpush 0.16.2, Linux. ~/.ssh/known_hosts has HashKnownHosts-style lines (|1|salt|hash), 48 of 56 entries. ssh dev2 connects with no prompt, but:

diskpush fleet run "w3bs --version" --on dev2,dev3,devchovy,bbs-root
dev2  dev2.profullstack.com  unreachable  -  0:00  dev2.profullstack.com is not in known_hosts (ssh-ed25519 SHA256:...)

Every host fails the same way; --accept-new works around it. Expected: match hashed entries the way OpenSSH does (HMAC-SHA1 of the hostname, or [host]:port for non-22 ports, keyed by the base64 salt), so hosts OpenSSH already trusts are trusted.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions