Error after upgrade: Prime size must be multiple of 64

289 views
Skip to first unread message

Peter Marcoen

unread,
May 30, 2016, 4:17:25 AM5/30/16
to Jenkins Users
When updating from v2.1 to v2.7, I all of a sudden get the following error when using "Send build artifacts over SSH":

ERROR: Exception when publishing, exception message [Failed to connect session for config [my-server-name]. Message [Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)]]

I have configured this SSH server with user root, remote directory '/' and password authentication without a key.
When I google this error I only get responses regarding the programming of SSH clients, no mention of a misconfiguration of some kind.

Does anyone know if this is a bug? And if so, if there is a work around?

Peter Marcoen

unread,
May 31, 2016, 4:03:20 AM5/31/16
to Jenkins Users
After some more research I found out that the Jenkins upgrade from 2.1 to 2.7 was not the cause of the problem.
The cause is the upgrade of the Publish Over SSH plugin from 1.13 to 1.14.

Op maandag 30 mei 2016 10:17:25 UTC+2 schreef Peter Marcoen:

Peter Marcoen

unread,
May 31, 2016, 5:02:45 AM5/31/16
to Jenkins Users
I have created the following ticket: https://issues.jenkins-ci.org/browse/JENKINS-35231

Op dinsdag 31 mei 2016 10:03:20 UTC+2 schreef Peter Marcoen:
Reply all
Reply to author
Forward
0 new messages