jenkinsci / jenkinsci/ssh-credentials-plugin

[JENKINS-56381] 'Enter directly' should be selected by default when creating SSH key credentials

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
component:ssh-credentials-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
25
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Ever since we removed the options to read SSH private keys from the master filesystem, the UI for the 'SSH username with private key' credential type has had only one remaining radio button choice: 'Enter directly.' But this choice is not selected by default, and you can save a useless credential without selecting it. I've been doing remote technical interviews where one of the steps along the way is to create this credential, and as of today ten out of ten candidates have been baffled by this UI, even when they have used Jenkins before. I almost always have to walk them through this part. I think that 'Enter directly' should just be selected by default when the credential is created, and you should not be able to save this credential type if you haven't entered a key. If there is agreement that this would be useful, I can try to create a PR.

---
Originally reported by owenmehegan, imported from: 'Enter directly' should be selected by default when creating SSH key credentials


  • status: Open
  • priority: Major
  • component(s): ssh-credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251215-193512

Raw content of original issue

Ever since we removed the options to read SSH private keys from the master filesystem, the UI for the 'SSH username with private key' credential type has had only one remaining radio button choice: 'Enter directly.' But this choice is not selected by default, and you can save a useless credential without selecting it. I've been doing remote technical interviews where one of the steps along the way is to create this credential, and as of today ten out of ten candidates have been baffled by this UI, even when they have used Jenkins before. I almost always have to walk them through this part. I think that 'Enter directly' should just be selected by default when the credential is created, and you should not be able to save this credential type if you haven't entered a key. If there is agreement that this would be useful, I can try to create a PR.

1 attachment

- [Screen Shot 2019-03-04 at 4.28.53 pm.png](https://issues.jenkins.io/secure/attachment/46249/Screen%20Shot%202019-03-04%20at%204.28.53%20pm.png)
> ![Screen Shot 2019-03-04 at 4.28.53 pm.png](https://issues.jenkins.io/secure/attachment/46249/Screen%20Shot%202019-03-04%20at%204.28.53%20pm.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.