SSH command execution error: AuthenticationFailure: Authentication failure

58 views
Skip to first unread message

Minh

unread,
Aug 22, 2024, 9:05:26 AMAug 22
to rundeck-discuss
Hi guys, i', having an issue when executing the command on Rundeck.
I have imported the .pem file
Tested ssh manually on rundeck host to host target is ok
But when executed on rundeck portal I got issue:

SSH command execution error: AuthenticationFailure: Authentication failure connecting to node: "test". Could not authenticate

rac...@rundeck.com

unread,
Aug 22, 2024, 9:39:10 AMAug 22
to rundeck-discuss

Hi,

That's a common misconfiguration issue, more details are needed: could you share your model source nod entry? (probably located in the resources xml/yml file) Which default node executor are you using?

Please take a look at this guide.

Additionally, if you're using the old default JSCH node executor, please read this, probably changing to SSHJ solves it.

Regards.

Minh

unread,
Aug 23, 2024, 3:09:20 AMAug 23
to rundeck-discuss
Hi, 
First of all, thank you for your quick response. I'm installing the latest version 5.5.0 and having the same issue. I will collect all the issue and get back to you asap will full detail so we can have more information to find out the solution.
Much appreciate your support.

Vào lúc 20:39:10 UTC+7 ngày Thứ Năm, 22 tháng 8, 2024, rac...@rundeck.com đã viết:

Minh

unread,
Aug 25, 2024, 9:19:18 AMAug 25
to rundeck-discuss
Dear support team,
After changing to SSHJ, I was able to execute the command on a node.
but when I test "sudo apt update", the console shows this and keeps running.

rundeck.jpg



Vào lúc 20:39:10 UTC+7 ngày Thứ Năm, 22 tháng 8, 2024, rac...@rundeck.com đã viết:

Minh

unread,
Aug 25, 2024, 9:33:08 AMAug 25
to rundeck-discuss
Here is my node configuration

<node name="TEST-SRV"             description="TEST" tags="ubuntu" hostname="192.168.1.10" osFamily="unix" username="ubuntu" ssh-password-storage-path="keys/ubuntu" ssh-authentication="password" sudo-command-enabled="true" sudo-password-storage-path="keys/ubuntu" />

Vào lúc 20:39:10 UTC+7 ngày Thứ Năm, 22 tháng 8, 2024, rac...@rundeck.com đã viết:
Reply all
Reply to author
Forward
0 new messages