Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSH using jschexception verify false sometimes fails

Tags:

java

ssh

jsch

The requirement is to ssh from one server to multiple server and execute a command.

When I do this I frequently, but not always, receive this exception when trying to ssh from one server to another. What could be the reason for this and how can it be fixed? Any help could be great. Thanks in advance!

jcraft.jsch.JSchException: verify: false       at jcraft.jsch.Session.connect(Session.java:309)       at jcraft.jsch.Session.connect(Session.java:162) 
like image 357
dinesh kumar Avatar asked Sep 05 '12 10:09

dinesh kumar


1 Answers

jsch 0.1.50 has been released and it fixes this problem.

The download page for jsch is http://www.jcraft.com/jsch/

like image 53
antoine Avatar answered Sep 23 '22 02:09

antoine