New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-64105] Add optional SSHAuthenticator implementation #13
Conversation
While testing integration within on a Jenkins instance, I noticed that
Would need to bump jenkins version requirement of snakeyaml-api apparently. I did exactly that and that fixed it. |
...va/io/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPasswordKeyAuthenticator.java
Outdated
Show resolved
Hide resolved
...java/io/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPublicKeyAuthenticator.java
Outdated
Show resolved
Hide resolved
...o/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPasswordKeyAuthenticatorTest.java
Outdated
Show resolved
Hide resolved
.../io/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPublicKeyAuthenticatorTest.java
Outdated
Show resolved
Hide resolved
.../io/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPublicKeyAuthenticatorTest.java
Outdated
Show resolved
Hide resolved
new version of BOM is available with fixed snakeyaml: https://github.com/jenkinsci/bom/releases/tag/1466.v85a_616ea_b_87c |
Should be able to merge/rebase and all should be good 😄 |
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
...va/io/jenkins/plugins/mina_sshd_api/core/authenticators/MinaSSHPasswordKeyAuthenticator.java
Show resolved
Hide resolved
hello @Dohbedoh . It seems to be an issue with SSHD from the new release. I had to rollback manually .jpi file to get Jenkins running again (it blocks all plugins). Could you have a look please ? Edit: files to rollback (use .bak in plugins folder)
|
can confirm, we're seeing the same issue. Will try rolling back jpi file, thanks @fautpasycraindre |
I did not test this with CasC or a dependent of |
Should be fixed by jenkinsci/commons-lang3-api-plugin#19 |
(move jenkinsci/ssh-credentials-plugin#126 here with
ssh-credentials
as an optional dependency)JENKINS-64105: Added
MinaSSHPasswordKeyAuthenticator
andMinaSSHPublicKeyKeyAuthenticator
to provide authentication support with an Apache Mina SSHD ClientSession.See also:
Note: also added system property to control the auth timeout when doing the auth (those defaults to 15s which I believe is more than reasonable):
io.jenkins.plugins.mina_sshd_api.core.authenticators.MinaSSHPasswordKeyAuthenticator.authTimeout
io.jenkins.plugins.mina_sshd_api.core.authenticators.MinaSSHPublicKeyAuthenticator.authTimeout