Skip to content

ENT-14407: Replaced ssh-keyscan with reading host keys in federation setup status (3.24.x) - #3242

Merged
larsewi merged 1 commit into
cfengine:3.24.xfrom
larsewi:federation-host-keys-from-disk-3.24.x
Nov 12, 2026
Merged

larsewi merged 1 commit into
cfengine:3.24.xfrom
larsewi:federation-host-keys-from-disk-3.24.x

Conversation

@larsewi

@larsewi larsewi commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Manual backport of #3237. Resolved a conflict caused by formatting differences in federation.cf.

🤖 Generated with Claude Code

OpenSSH 9.8+ PerSourcePenalties penalise repeated ssh-keyscan
connections from localhost, so the scan often returned nothing and setup
status was not written. Host key paths now come from sshd -T and the
public keys are read from disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ticket: ENT-14407
Changelog: Federation setup status no longer fails to collect the SSH host key fingerprint on OpenSSH 9.8+
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 05a2ee0)
@larsewi

larsewi commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@larsewi
larsewi merged commit e316084 into cfengine:3.24.x Nov 12, 2026
40 checks passed
@larsewi
larsewi deleted the federation-host-keys-from-disk-3.24.x branch November 12, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants