Failed: SSHProtocolFailure: failed to send channel request

397 views
Skip to first unread message

Samuel Neves

unread,
Jun 30, 2022, 2:22:13 PM6/30/22
to rundeck-discuss
Hello Guys I have a project with the "Pass RD_*" flag enabled, but one specific job does not need this env vars, and when I try to execute this on this remote node I am receiving the following error: 

```H_MSG_KEX_ECDH_INIT sent
expecting SSH_MSG_KEX_ECDH_REPLY
ssh_rsa_verify: signature true
Permanently added 'REMOTEHOST' (RSA) to the list of known hosts.
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
SSH_MSG_SERVICE_ACCEPT received
Authentications that can continue: publickey,password,keyboard-interactive
Next authentication method: publickey
Authentication succeeded (publickey).
Disconnecting from REMOTEHOST port 22
SSH command execution error: SSHProtocolFailure: failed to send channel request
Failed: SSHProtocolFailure: failed to send channel request
Caught an exception, leaving main loop due to Socket closed
[workflow] finishExecuteNodeStep(REMOTEHOST): NodeDispatch: SSHProtocolFailure: failed to send channel request```

When I disable the "Pass RD_*" the job works properly. Anyone knows if there is a way to keep this flag enabled at the project level and run this job on a remote node without this error? And why this error is happening? 

rac...@rundeck.com

unread,
Jun 30, 2022, 4:11:42 PM6/30/22
to rundeck-discuss

Hi Samuel, which Rundeck version are you using? Could you test with the latest one? It seems related to sftp (file copier).

Also, a good test could be using the SSHJ/OpenSSH node executors instead of the default SSH.

Regards.

Samuel Neves

unread,
Jul 6, 2022, 9:10:30 AM7/6/22
to rundeck-discuss
I will take a look soon at your suggestion.
Rundeck 4.0.0

Reply all
Reply to author
Forward
0 new messages