mirror of https://github.com/apache/jclouds.git
comments for JschSshClinet bug fix
This commit is contained in:
parent
6dc6d3581f
commit
ea206d4036
|
@ -282,6 +282,7 @@ public class JschSshClient implements SshClient {
|
||||||
try {
|
try {
|
||||||
executor.connect();
|
executor.connect();
|
||||||
} catch (JSchException e) {
|
} catch (JSchException e) {
|
||||||
|
// performing a retry if connect has thrown an exception
|
||||||
executor.disconnect();
|
executor.disconnect();
|
||||||
backoffForAttempt(++j, String.format("%s@%s:%d: Failed to connect ChannelExec", username, host, port));
|
backoffForAttempt(++j, String.format("%s@%s:%d: Failed to connect ChannelExec", username, host, port));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue