-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(ssh_config): host_key_algorithms option #5605
feat(ssh_config): host_key_algorithms option #5605
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Here are some first comments.
changelogs/fragments/5605-ssh-config-add-host-key-algorithms.yaml
Outdated
Show resolved
Hide resolved
Hi @felixfontein , I included your suggestions in the latest commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK to me, and since nobody objected I'm going to merge this.
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5653 🤖 @patchback |
* feat(ssh_config): host_key_algorithms option * chore: add changelog fragment * chore(ssh_config): add version info to option and update fragment (cherry picked from commit fb2833d)
@koralowiec thanks for contributing this feature! |
…orithms option (#5653) feat(ssh_config): host_key_algorithms option (#5605) * feat(ssh_config): host_key_algorithms option * chore: add changelog fragment * chore(ssh_config): add version info to option and update fragment (cherry picked from commit fb2833d) Co-authored-by: Arek Kalandyk <36413794+koralowiec@users.noreply.github.com>
SUMMARY
host_key_algorithms
option for ssh_config moduleISSUE TYPE
COMPONENT NAME
ssh_config
ADDITIONAL INFORMATION
Example ad hoc execution:
ansible localhost --connection=local -a \ "host=example.com ssh_config_file=/tmp/ssh_config remote_user=mariusz host_key_algorithms=+ssh-rsa" \ -m community.general.ssh_config
Result (content of
/tmp/ssh_config
):