You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SSH Credentials Plugin no longer supports SSH credentials from files on the Jenkins master file system, neither user-specified file paths nor ~/.ssh. Existing SSH credentials of these kinds are migrated to "directly entered" SSH credentials.
I'll be submitting a PR when I have something that works.
The text was updated successfully, but these errors were encountered:
Just came across this change. It breaks my automated Jenkins setup that I use for the many Jenkins instances that I manage across a lot of clients. It would be really nice to have at least an option to "Use ssh key from Jenkins home" which uses the default SSH key located at ~jenkins/.ssh/id_rsa without allowing the use of an arbitrary path. This way, it complies with the standard key location, and allows for automated setup of Jenkins (by creating the Jenkins user key during setup), and doesn't require me to manually paste the key into the UI each time I set up a new Jenkins instance.
@viyh The change was introduced in the SSH plugin. I just documented the change. I suggest you file an issue at that plugin. It is also possible to write a bit of code that loads your key into an environment variable, that can be used by CASC.
Link to plugin: https://wiki.jenkins.io/display/JENKINS/SSH+Credentials+Plugin
Reason for the need to update the example in demo/credentials:
https://jenkins.io/security/advisory/2018-06-25/#SECURITY-440
I'll be submitting a PR when I have something that works.
The text was updated successfully, but these errors were encountered: