提交 0984d9d8 编写于 作者: S serge-rider

#3643 SSHJ fix: use correct SSH port

上级 61e81d25
......@@ -64,7 +64,7 @@ public class SSHImplementationSshj extends SSHImplementationAbstract {
log.debug("Error loading known hosts", e);
}
sshClient.connect(sshHost);
sshClient.connect(sshHost, sshPortNum);
if (privKeyFile != null) {
if (!CommonUtils.isEmpty(sshPassword)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册