SSH authentication failed, Problem generating Diffie-Hellman initializaton values

Ntera
Tera Contributor

Apologies if the forum is not the correct one. We have an issue when one of the Data Sources that pulls data from the SFTP server is giving the error below:

com.glide.db.impex.datasource.DataSourceException: java.io.IOException: SSH authentication failed, Problem generating Diffie-Hellman initializaton values: java.security.InvalidAlgorithmParameterException: DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 2070 is not supported
com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:139)
java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:667)
java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
com.snc.ssh.kex.ADiffieHellmanKEX.phase1(ADiffieHellmanKEX.java:58)
com.snc.ssh.kex.DiffieHellmanGEX.setGroup(DiffieHellmanGEX.java:77)
com.snc.ssh.msgs.DiffieHellmanGEXGroupMsg.process(DiffieHellmanGEXGroupMsg.java:27)
com.snc.ssh.msgs.ReadMsg.deframeBinaryPacket(ReadMsg.java:113)
com.snc.ssh.msgs.ReadMsg.process(ReadMsg.java:63)
com.snc.ssh.SSHProtocolEngine.run(SSHProtocolEngine.java:106)
java.lang.Thread.run(Thread.java:748)

 

Any ideas what this is exactly and how/where to solve it i.e. on the instance or on the SFTP server side?

5 REPLIES 5

Anish Bose
Tera Contributor

Hello 

We are facing similar issue. Did you find any solution for this?

Thanks!