The cipher 'aes256-cbc' is required, but it is not available

When using jsch to connect SSH, encountered this:The cipher 'aes256-cbc' is required, but it is not available.

Environment: JDK 6

Solution: 

step 1: Download jce_policy-6.zip here: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

step 2: In the /JCE folder, you’ll get two JAR files – local_policy.jar and US_export_policy.jar Copy these two JAR files to the your JDK’s /jre/lib/security/ folder, replacing the similarly named files that are already there.



你可能感兴趣的:(The cipher 'aes256-cbc' is required, but it is not available)