-
Notifications
You must be signed in to change notification settings - Fork 130
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
Fixes #30121 - Generate SSH keys in PEM format #600
Conversation
On EL8 the keys get generated in RFC4716 which doesn't play well with the version of net-ssh we currently ship.
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.
LGTM. Thanks @adamruzicka
Could we have updated the net-ssh version or will we run into https://projects.theforeman.org/issues/30162 then? |
Even the latest and greatest version of net-ssh considers all private keys beginning with |
But can't we ship the gems to support ed25519 as well or is that still a problem? That's probably more a packaging issue, but IMHO a good feature to support. Users might generate their own ed25519 keys and run into problems. |
We could and we should, but that wouldn't change anything on the fact that net-ssh would still incorrectly detect the key type. |
Ok, that sounds like a known issue we should document for REX users on EL8. |
On EL8 the keys get generated in RFC4716 format which doesn't play well with the version of net-ssh we currently ship.