JSch connection issue: JSchException: Algorithm negotiation fail – Even with JCE installed
Solution 1:
For those who are facing this issue, change your pom from:
<!-- https://mvnrepository.com/artifact/com.jcraft/jsch -->
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.54</version>
</dependency>
to:
<!-- https://mvnrepository.com/artifact/com.github.mwiede/jsch -->
<dependency>
<groupId>com.github.mwiede</groupId>
<artifactId>jsch</artifactId>
<version>0.1.72</version>
</dependency>
Here is the repository: https://github.com/mwiede/jsch