-
Bug
-
Resolution: Fixed
-
Major
It is a common mistake to type the SSH key in multiple lines. Look for these typical errors and make sure the keys follow the valid syntax.
- links to
[JENKINS-16337] SSH public key field in the user config page lacks form validation
Workflow | Original: JNJira [ 147152 ] | New: JNJira + In-Review [ 176826 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: ssh-plugin [ 16049 ] | |
Labels | New: diagnostics ssh ux |
Assignee | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "ssh-cli-auth PR 4 (Web Link)" [ 16001 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "core PR 2840 (Web Link)" [ 16101 ] |
This is in the core (specifically the ssh-cli-auth module), not the ssh plugin.
AFAICT it does no parsing whatsoever of what you enter. It just splits it by newline, and then when authenticating, generates an expected public key string and does a String.equals against each line in turn.