win7上面安装Jenkins.war之后,想要连接Linux服务器但却无法成功的解决方案

报错异常如下:

错误告警
Key exchange was not finished, connection is closed.

java.io.IOException: There was a problem while connecting to 192.168.1.113:22     at com.trilead.ssh2.close

 

解决方案:
切换成信任的策略

win7上面安装Jenkins.war之后,想要连接Linux服务器但却无法成功的解决方案

 

最终配置如下:

win7上面安装Jenkins.war之后,想要连接Linux服务器但却无法成功的解决方案