Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployer appends known hosts rather than replacing them #62

Open
tomjn opened this issue Mar 24, 2023 · 0 comments
Open

Deployer appends known hosts rather than replacing them #62

tomjn opened this issue Mar 24, 2023 · 0 comments

Comments

@tomjn
Copy link

tomjn commented Mar 24, 2023

TLDR: the known hosts option implies it replaces the file, but it actually appends to it, which is not mentioned!

We've added the new github RSA fingerprints to a known hosts secret, along with several others, then told deployer to use it.

Unfortunately, deployer appends these to a known hosts file that has out of date fingerprints rather than replacing/overwriting, so we still get the SSH fingerprint problem despite adding the new entries.

As a workaround we're going to test removing all github fingerprints before running the deployer, but the documentation should be updated to make it clear that the action appends/extends, and does not replace/overwrite as currently implied

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

No branches or pull requests

1 participant