JSchException: Algorithm negotiation fail

前端 未结 10 1931
面向向阳花
面向向阳花 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 06:59

    Make sure that you're using the latest version of JSch. I had this exact same problem when using JSch 0.1.31 and trying to connect to a RedHat 5 server. Updating to the latest version solved the problem.

提交回复
热议问题