Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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?