Alex Rivera | Logout

SSH using jschexception verify false sometimes fails

Asked 2012-09-05T10:52:28.860
39

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)
Edit
Report

1 Answer

4

I have experienced the same problem using Java 1.7.0_07 on Windows 64 bits together with Ant 1.7.1 and jsch-0.1.44.jar. Also using Ant 1.9.0-alpha and jsch-0.1.49. I have reported this issue on the tracker of jsch at sourceforge.

A similar bug report has been made by someone using Ivy, jsch and Java 1.7 IVY-1374

Users of gradle also reported the same as gradle-ssh-plugin issue 11.

answered 2013-02-21T03:16:44.957

Your Answer