Skip to content

fix(ssh): embed known host keys for mittwald clusters#1667

Open
martin-helmich wants to merge 1 commit intomasterfrom
fix/ssh-known-hosts
Open

fix(ssh): embed known host keys for mittwald clusters#1667
martin-helmich wants to merge 1 commit intomasterfrom
fix/ssh-known-hosts

Conversation

@martin-helmich
Copy link
Member

Summary

  • Embeds SSH host keys for all 7 mittwald clusters directly in the CLI
  • Automatically writes a known_hosts file to the oclif config directory
  • Uses GlobalKnownHostsFile SSH option so embedded keys are checked alongside user's ~/.ssh/known_hosts

This resolves "Host key verification failed" errors in CI/CD environments where the SSH host keys are not pre-populated in ~/.ssh/known_hosts.

The host keys are copied from the terraform-provider-mittwald and should be kept in sync with that project.

Closes #1260

🤖 Generated with Claude Code

This resolves "Host key verification failed" errors in CI/CD
environments where the SSH host keys are not pre-populated in
~/.ssh/known_hosts.

The CLI now embeds SSH host keys for all mittwald clusters and
automatically writes them to a known_hosts file in the oclif
config directory. This file is used via the GlobalKnownHostsFile
SSH option, which is checked in addition to the user's own
~/.ssh/known_hosts file.

Closes #1260

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

SSH Error while trying to push static pages

1 participant