Open leosimony opened 1 year ago
@leosimony can you confirm that these keys are working outside of the AWX context?
Hello,
Thank you for your response. Yes, the keys are working outside of AWX, which is why I came this far to get help.
On Wed, 3 May, 2023, 10:38 pm Seth Foster, @.***> wrote:
@leosimony https://github.com/leosimony can you confirm that these keys are working outside of the AWX context?
— Reply to this email directly, view it on GitHub https://github.com/ansible/awx/issues/13943#issuecomment-1533405281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKF2HIDINQK6MCQ7O4ZZE3XEKGIFANCNFSM6AAAAAAXUOK5TA . You are receiving this because you were mentioned.Message ID: @.***>
@fosterseth Thank you for your response. Yes, the keys are working outside of AWX, which is why I came this far to get help.
Hello,
I have stopped using AWX for a while and now I need this setup in our work environment.
Issue Description: Getting the below-given error message while trying to perform any operation via AWX.
"msg": "Failed to connect to the host via ssh: Warning: Permanently added '3.18.70.61' (ED25519) to the list of known hosts.\r\nleosimon@x.x.x.x: Permission denied (publickey).",
I have imported the same private key in AWX credentials as Machine type and it's been used for a long time now. The same key pair working fine from another Linux machine.
Assumptions:
Can someone check on this and let me know if this is a known behaviour and if there is a workaround to it?
Please let me know if any more information is required.
Regards, Leo
Is anyone facing a similar kind of issue?
Yes we have the problem here (I'm ashamed to have these old servers..)
Please confirm the following
Bug Summary
I have been using the same key pair for nearly 4 years now. The key pair worked fine all this time and something changed all of a sudden and I am getting the below error message for few servers I try to connect via ansible awx to perform tasks.
"Failed to connect to the host via ssh: Warning: Permanently added 'x.x.x.x' (ED25519) to the list of known hosts.\r\nsign_and_send_pubkey: no mutual signature supported\r\nmyuser@x.x.x.x: Permission denied (publickey).",
I am using the same key pair in one of my jumpbox to connect servers and tried creating a new machine credential in AWX by copying the openssh format private key from /home/user/.ssh/id_rsa but still it gave same result. From the jumpbox, the private key authentication is working fine but the same key pair is not working from Ansible AWX.
Info on target machines: Most of them are debian jessie machines and I was able to connect to those servers a couple weeks ago. I am able to authenticate with Ubuntu 18.04.4 which is very odd behavior all of a sudden.
AWX version
21.3.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
Core 2.14.4
Operating system
Host Machine is Ubuntu
Web browser
Chrome
Steps to reproduce
Trying to do an adhoc ping or job template that performs any tasks on the target from the inventory
Expected results
It should perform the task as per the job template I defined
Actual results
"Failed to connect to the host via ssh: Warning: Permanently added 'x.x.x.x' (ED25519) to the list of known hosts.\r\nsign_and_send_pubkey: no mutual signature supported\r\nmyuser@x.x.x.x: Permission denied (publickey).",
Additional information
No response