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

Remove dynamic SSH key host checks #1419

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Aug 8, 2022

Reverts a feature originally added in #798 (though the implementation has changed over time).

This was first added to avoid SSH host key algorithm mismatches between old versions of OpenSSH on the client (local machine) and servers (VM or remote server). In 2017, ed25519 (the preferred algorithm) was new enough in some macOS versions that this feature was needed. However, now it's 2022 and it should be extremely rare (if at all) that someone is using an OpenSSH version that old where ed25519 isn't supported.

Keeping this code makes maintaining Trellis and Ansible support more complex and has caused issues over the years. If it's not needed, then removing this feature entirely is a net benefit to simplify the codebase.

@swalkinshaw swalkinshaw force-pushed the remove-dynamic-host-key-checking branch from e632abd to 8b1bc5a Compare August 10, 2022 20:44
@swalkinshaw swalkinshaw marked this pull request as ready for review August 10, 2022 20:48
@swalkinshaw swalkinshaw merged commit 0f50953 into master Aug 10, 2022
@swalkinshaw swalkinshaw deleted the remove-dynamic-host-key-checking branch August 10, 2022 21:14
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