-
Improvement
-
Resolution: Fixed
-
Critical
-
-
sshd-3.0.4
Some of the libraries that Jenkins uses (e.g. JGit) have moved on to use SSHD 2.x. This contains breaking changes. But sshd-module still expects SSHD 1.x. The incompatibilities cause either compile-time or runtime 'class not found' errors in Jenkins and its plugins.
We need to bump our SSHD dependencies to fix this.
Options:
- SSHD 2.2.0 (also used by the current release of JGit)
- SSHD 2.3.0 (the very latest version)
Affected downstream components:
- Gerrit Trigger plugin
- git-server plugin
- Jenkins Core CLI
- Remote terminal access plugin
- ...
[JENKINS-60902] Upgrade sshd-module to use SSHD 2.x
Labels | New: sshd |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/sshd-module/pull/33 (Web Link)" [ 24354 ] |
Priority | Original: Minor [ 4 ] | New: Critical [ 2 ] |
Labels | Original: sshd | New: compatibility sshd |
Component/s | New: cli [ 15624 ] | |
Component/s | New: gerrit-trigger-plugin [ 15731 ] | |
Component/s | New: git-server-plugin [ 17613 ] | |
Component/s | New: remote-terminal-access-plugin [ 17321 ] |
Remote Link | New: This issue links to "PR-33 upgrade sshd module to sshd 2.2 (Web Link)" [ 24355 ] |
When the first 2.0 versions were announced, I was a bit hesitant about moving immediately due to compatibility issues. I believe we should move rather sooner than later, so we should definitely start exploring our options to keep compatibility as much as possible.
> In my experience, the number 1 cause of compilation errors and runtime NoClassDefFoundErrors from this change is that Command and CommandFactory have been moved to a sub-package.
For this purpose we could create bridge classes in SSHD Module and to extend the moved classes. But we need a full scope of breaking changes to analyze and mitigate the impact