tags:

views:

14

answers:

0

I am new user for JSch and wonder if I can change the preferred order of encryption algorithms such as:

  • instead of the blow configuration in Jsch.java:

config.put("cipher.s2c", "aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc");

  • I want to have a configuration like:

config.put("cipher.s2c","3des-ctr,aes128-ctr");

Is that possible?

Thank you for the answers.