JSchException: Algorithm negotiation fail

前端 未结 10 1966
面向向阳花
面向向阳花 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条回答
  •  臣服心动
    2020-11-27 07:14

    The issue is with the Version of JSCH jar you are using.

    Update it to latest jar.

    I was also getting the same error and this solution worked.

    You can download latest jar from

    http://www.jcraft.com/jsch/

提交回复
热议问题