Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Getting SSH Error #3

Open
projx opened this issue Jan 31, 2021 · 1 comment
Open

Getting SSH Error #3

projx opened this issue Jan 31, 2021 · 1 comment

Comments

@projx
Copy link

projx commented Jan 31, 2021

Hi

Just a heads up, I've just set about learning RunDeck, you're image seemed quite complete (with the config etc), so initially I ran with this, but I couldn't get it to connect to a server via SSH, I kept getting the following error:

Failed: SSHProtocolFailure: channel is not opened. Execution failed: 9 in project test1: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [runner-01-key: SSHProtocolFailure: channel is not opened. + {dataContext=MultiDataContextImpl(map={ContextView(node:runner-01-key)=BaseDataContext{{exec={exitCode=-1}}}, ContextView(step:1, node:runner-01-key)=BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]}, Node failures: {runner-01-key=[SSHProtocolFailure: channel is not opened. + {dataContext=MultiDataContextImpl(map={ContextView(node:runner-01-key)=BaseDataContext{{exec={exitCode=-1}}}, ContextView(step:1, node:runner-01-key)=BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]}, status: failed]

I faired a little better when using OpenSSH, i.e. it run the command, but it still returned some error or warning:

/var/lib/rundeck/libext/cache/openssh-node-execution-2.0.1/ssh-exec.sh: line 92: rd_secure_passphrase: invalid indirect expansion

The only option that work correctly was SSHJ-SSH.. I thought this was something I was doing wrong, in the end, I tried the official container image, and I didn't have any issues.

Thanks

@EugenMayer
Copy link
Owner

Thanks for the heads up!

I had a similar finding/hint recently singt the hit authentication or project synchronisation fails and the run deck maintainers did hint, that they cannot reproduce it.

Iam not sure what potentially could cause all this, do you have any suggestion?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants