#58 verify: false

closed-fixed
nobody
None
7
2014-01-27
2013-02-21
Anonymous
No

I am using jsch 0.1.42 together with Ant 1.7.1, and also jsch01.49 with the non released Ant 1.9.0-alpha.
Wiith both combos and Java 1.7 I am getting verify: false errors thrown likely by the Session class of jsch.
The exception is not thrown systematically, I think it happens currently 30% fo the time.
We are connecting to openssh servers on linux and to cygwin ssh on windows.
We are building concurrent connections inside an ant build file using parallel and sshexec. This works well with Java 1.6.
I am not 100% sure as of now what is causing the bug and how to fix it.

Discussion


  • Anonymous
    2013-02-21

    • priority: 5 --> 7
     

  • Anonymous
    2013-02-22

    • summary: verfiy: false --> verify: false
     
  • I'm having the same (intermittent) issue, using jsch-0.1.45 and Java 1.7.0_09. Is there any workaround/fix?

     

  • Anonymous
    2013-05-12

    This is fixed in jsch 0.1.50

     

  • Anonymous
    2013-05-12

    • status: open --> closed-fixed
     
  • Markus Duft
    Markus Duft
    2013-12-03

    still happens with 1.50 :(

    Caused by: com.jcraft.jsch.JSchException: verify: false
    at com.jcraft.jsch.Session.connect(Session.java:330)
    at com.wamas.tools.gerrit.ext.shared.gerrit.ssh.GerritSshConnection.<init>(GerritSshConnection.java:56)
    ... 10 more

     
  • Pavel Tsukanov
    Pavel Tsukanov
    2014-01-27

    I am getting the same error with new version (v.6) Silver Sheild server (http://www.extenua.com/silvershield) always. It seems the something wrong with Key exchange algorithm.
    Version 5 was working fine with the JSch.
    Can anybody help me?
    I checked with jsch-0.1.48, jsch-0.1.50, jsch-0.1.51-rc5

     
    Last edit: Pavel Tsukanov 2014-01-27