Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
imholzj
Contributor III
Contributor III

scp DH key size error

tSCPConnection is giving this warning then exception when connecting to a server. Any advice for me to debug?

[WARN ] 16:14:28 org.apache.sshd.client.session.ClientSessionImpl- exceptionCaught(ClientSessionImpl[serviceaccount@server])[state=Opened] InvalidAlgorithmParameterException: DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 4095 is not supported

Exception in component tSCPConnection_2 (ENC_SCPcopyToHomeroom5)

org.apache.sshd.common.SshException: DefaultAuthFuture[ssh-connection]: Failed (InvalidAlgorithmParameterException) to execute: DH key size must be multiple of 64, and can only range from 512 to 8192 (inclusive). The specific key size 4095 is not supported

at org.apache.sshd.common.future.AbstractSshFuture.lambda$verifyResult$1(AbstractSshFuture.java:145)

jji

Labels (3)
2 Replies
Anonymous
Not applicable

Hello,

Here is an article about: https://stackoverflow.com/questions/52115621/java-security-invalidalgorithmparameterexception-dh-key...

Let us know if it helps.

Best regards

Sabrina

imholzj
Contributor III
Contributor III
Author

Thanks, that got me closer.

 

I think the problem is connecting to an older Solaris system, and it doesn't look like Java cares. I haven't tried alternative security provider yet.

 

https://github.com/rundeck/rundeck/issues/2705

 

Is it reasonable to install BouncyCastle?