其他分享
首页 > 其他分享> > jsch jar包连接不上ssh报Algorithm negotiation fail 错误

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

作者:互联网

参考:https://my.oschina.net/greatqing/blog/740179

1、jsch jar包连接不上ssh报Algorithm negotiation fail 错误

1 com.jcraft.jsch.JSchException: Algorithm negotiation fail
2         at com.jcraft.jsch.Session.receive_kexinit(Session.java:583) ~[jsch-0.1.51.jar:na]
3         at com.jcraft.jsch.Session.connect(Session.java:320) ~[jsch-0.1.51.jar:na]

解决方法,将jsch的包升级到0.1.53解决问题,问题详情参考链接:https://my.oschina.net/greatqing/blog/740179

1 <dependency>
2     <groupId>com.jcraft</groupId>
3     <artifactId>jsch</artifactId>
4     <version>0.1.53</version>
5 </dependency>

 

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

标签:jsch,negotiation,Algorithm,0.1,jar,fail
来源: https://www.cnblogs.com/biehongli/p/15458915.html