Skip to content

Remember the SSH server key for each deployment - #15103

Open
dguido wants to merge 3 commits into
mainfrom
codex/ssh-server-identity
Open

dguido wants to merge 3 commits into
mainfrom
codex/ssh-server-identity

Conversation

@dguido

@dguido dguido commented Nov 25, 2026

Copy link
Copy Markdown
Member

Algo now records the first SSH host key for a deployment under its private configuration directory. Later provisioning, user updates and the generated SSH config use the same trust file. A changed key stops the connection.

First contact uses OpenSSH’s accept-new policy. Operators can seed the file with a verified key before first contact, including when upgrading an existing deployment.

Verification

The controller test preserved a pre-existing trust record and inspected the effective settings with ssh -G.

@dguido
dguido requested a review from jackivanov as a code owner November 25, 2026 19:27

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant