Hi,
SSH Connection Timeout and Socket Connection Timeout seems to be not working on jsch-0.1.55.jar. I'm using Rundeck 2.4.4 Pro Cluster (2.11.7 OSS) with the following options that should be modify those options:
Socket
rundeck.jobs.options.remoteUrlTimeout=[seconds]
SSH Connection Timeout
rundeck.jobs.options.remoteUrlConnectionTimeout=[seconds]
framework.ssh-command-timeout=0
But always I'm getting Failed: SSHProtocolFailure: channel is not opened. which is related to Socket Timeout. (https://stackoverflow.com/questions/35009009/jsch-session-timeout-limit).
In order to test it, I've created a network with poor connectivity which takes almost 15 or 20 seconds to connect to SSH. I've test it on the same network with openssh plugin, and it works fine on Rundeck 2.4.4.
19:18:58 [rundeck@node03.rundeck.local 2][VERBOSE] Authentication succeeded (publickey).
19:19:19 [rundeck@node03.rundeck.local 2][VERBOSE] Disconnecting from node03.rundeck.local port 22
19:19:19 [rundeck@node03.rundeck.local 2][VERBOSE] Caught an exception, leaving main loop due to Socket closed
19:19:19 [rundeck@node03.rundeck.local 2][VERBOSE] SSH command execution error: SSHProtocolFailure: channel is not opened.