Closed hanserasmus closed 7 months ago
For anyone else finding this: The issue was I was uploading an OpenSSH key, rather than an RSA key. I fixed it by first converting the key with ssh-keygen -p -m PEM -f ./privkey
and then uploading the key again.
Next up I ran into an issue as described in #7766 and found my answer in this comment. Changing my executors to SSHJ fixed all my problems.
Note: Bug Reports not following this template may be closed without feedback.
Getting Help Please use this issue template for reporting identified or suspected bugs only. For support on configuration or troubleshooting please see Getting Help for the appropriate channels.
Describe the bug When trying to set up an Ansible inventory with ssh key (no passphrase), I keep getting an error in my rundeck logs:
But when I test Ansible via cli, using the same key, just saved in the correct space, it works:
My Rundeck detail
To Reproduce Steps to reproduce the behavior:
Edit Nodes
in the project, add ansible inventory location, under SSH settings add a previously added SSH key.Nodes
and check your logs, you will find an error like the one mentioned above.Expected behavior I expect Rundeck to connect to the remote node and add it under the
Nodes
page.Screenshots
Desktop (please complete the following information):
What am I doing wrong?
EDIT: I should add I have tried using it as the
admin
user, and theadmin
user has full ACL permissions on all keys.