-
Notifications
You must be signed in to change notification settings - Fork 153
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
new OpenSSH 8.2 keytypes (ecdsa-sk and ed25519-sk) not supported by authorized_key-module #17
Comments
My Pull-Request at least remedies sk-ecdsa. Any idea how it looks for ed25519? |
i just ammended my PR to contain all current ssh key types. |
Fixed by #30 |
@fbettag Thank you for the pull request, greatly appreciate the contribution! |
@maxamillion , it looks like |
@savchenko |
SUMMARY
When trying to use the authorized_key-module to add one of the new
ecdsa-sk
-keys OpenSSH 8.2 supports, I get an error sayinginvalid key specified
.Looking through
ansible.posix/plugins/modules/authorized_key.py
Line 390 in 7e70deb
[email protected]
and[email protected]
(see SSHD man page for full list of keytypes) should be added. I don't know if just adding the keytype to this list will be enough. I don't really know python, but just adding the keytype to this list did not solve the issue on my system, so there might be some additional work needed.ISSUE TYPE
COMPONENT NAME
authorized_key
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ansible is run on macOS Catalina, 10.15.4, agains hosts running Ubuntu 20.04.
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect the key to be added to
/root/.ssh/authorized_keys
.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: