Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Connection works with direct SSH, with SSHJ, but not with openssh-executor

14 views
Skip to first unread message

Xavier Humbert

unread,
Nov 27, 2024, 8:46:50 AM11/27/24
to rundeck-discuss
Hi,

I rather frequently encounter this error :

- Connection with direct SSH works  (ssh -i id_rsa-rundeck-user
rundeck-user@remotehost)
- Connection with SSHJ-SSH works
- Connection with openssh-executor fails, see the debug output attached
to this message.

Head of Private RSA Key, it is a PEM key, I noticed that under certain
circumstances OPENSSH key doesn't work:

-----BEGIN RSA PRIVATE KEY-----
MIIR8wIBAAKCA/UA3+0LMp0o+srQ594GI8ZrgZLCayXeVfX2xZY8iOswIRCvGmdV

I can't figure why...

Regards,

Xavier

--
Xavier Humbert
CRT Supervision et Exploitation de Niveau 1
Direction des Services d'Information du Grand Est
Rectorat de l'Académie de Nancy-Metz
Ministère de l'Éducation Nationale et de la Jeunesse
03 83 86 27 39
rd_debug_output.txt

rac...@rundeck.com

unread,
Nov 27, 2024, 10:29:00 AM11/27/24
to rundeck-discuss

Hi Xavier,

[ssh-copier] executing: [/bin/bash, /appli/rundeck/libext/cache/openssh-node-execution-2.0.3/ssh-copy.sh, ${node.username}, ${node.hostname}] [ssh-copier]: result code: 5 Failed: NonZeroResultCode: [ssh-copier]: external script failed with exit code: 5 [workflow] finishExecuteNodeStep(qp2-opa-trt02.opale:phm): NodeDispatch: NonZeroResultCode: [ssh-copier]: external script failed with exit code: 5

It seems related to the File Copier connectivity. Exit Code 5 means “Connection broken”.

Probably you’re facing this issue, could you confirm?

Also, check carefully your network/remote node ssh config, probably something is closing the connection.

Greetings.

Xavier Humbert

unread,
Dec 3, 2024, 9:52:57 AM12/3/24
to rundeck...@googlegroups.com

Hi Reiner,

I'm not sure if this is the same issue. I gave up with openssh, switched to SSHJ/SSH

Regards,

Xavier

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rundeck-discuss/1ae37175-dde5-4844-81f7-287da41227a1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages