-
Notifications
You must be signed in to change notification settings - Fork 150
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-66851] Publish over SSH plugin not using Jenkins credentials for providing username, key and passphrase #70
Comments
Can anyone tell, has this issue been fixed? |
No changes here with latest version 1.24 |
Hi @markuschen can this be considered as an important security matter? Should we refrain from installing this plugin until update is applied? |
This is a feature enhancement, not an explicit security problem. All known security related issues where solved in the last two releases. |
It's a duplicate of #177. |
@proski, could you please elaborate why you don't have precise control which credential is used with ssh-agent? As far as I can see you add exactly the credential(s) you want to the agent. How can this not be precise? |
I believe that using sshagent doesn't prevent ssh from using other private keys. |
Of course not. but that's not a problem of |
Any update on this? Just for my understanding, somewhere between versions 1.21 and 1.25 the Jenkins credential provider is not used anymore, requiring credentials to be entered directly in the 'Publis over SSH' configuration, right? This issue is the only information I have found that's related to my problem. We have an exisiting Jenkins instance running 1.21 which runs this plugin with a stored Global credential just fine, and a new Jenkins instance running 1.25 with the same setup, on which the plugin fails to connect, unless I enter the key in the Publish over SSH config. Is this a feature or a bug? |
This is of course a bug. |
Thanks for your reply @dhs-rec. |
Hi All, I aim to take a look and some issues soon and look towards a new release, but it would be great if anyone would PR some of these issues to make it easier |
As the summary says, the Publish over SSH plugin still uses custom fields for providing the username, private key and passphrase instead of a credentials selector. This also makes it necessary to put variables into JCasC files instead of a credentials ID which undermines security (because that variable has to be set somewhere).
Please fix.
Originally reported by dhs, imported from: Publish over SSH plugin not using Jenkins credentials for providing username, key and passphrase
The text was updated successfully, but these errors were encountered: