JSchException: Algorithm negotiation fail

前端 未结 10 1970
面向向阳花
面向向阳花 2020-11-27 06:30

I am trying to connect to remote sftp server over ssh with JSch (0.1.44-1) but during \"session.connect();\" I am getting this exception:

com.jcraft.jsch.JS         


        
10条回答
  •  猫巷女王i
    2020-11-27 07:04

    I had the same issue, running Netbeans 8.0 on Windows, and JRE 1.7.

    I just installed JRE 1.8 from https://www.java.com/fr/download/ (note that it's called Version 8 but it's version 1.8 when you install it), and it fixed it.

提交回复
热议问题