Discussion:
[JSch-users] Jsch key exchange protocols
Karbas, Reinhard
2015-01-07 17:03:29 UTC
Permalink
We are using Gerrit for our code review which as of now is using jsch 0.1.50

However when we changed the recipient server for the replication to openssh 6.7p1 the replication failed because of an error during negotiating the key exchange algorithm

Based on the changelog an additional algorithm (diffie-hellman-group-exchange-sha256) was added to jsch

I just downloaded the source files for 0.1.51 and looked at file keyExchange.java
I only see the following:

static String kex="diffie-hellman-group1-sha1";

However based on the documentation for openssh 6.7p1 only following kex values are supported by default:

* curve25519-***@libssh.org
* ecdh-sha2-nistp256
* ecdh-sha2-nistp384
* ecdh-sha2-nistp521
* diffie-hellman-group-exchange-sha256
* diffie-hellman-group14-sha1

What happened to the supposed addition in version 0.1.50?

Did this get lost somewhere?

Thanks a lot

Reinhard

Loading...