jenkinsci / jenkinsci/ssh-agents-plugin
[JENKINS-71483] Paragraph character in password not working
- Dominant language
- Java
- Stars
- 115
- Forks
- 141
- PR merge metrics
- No merged PRs in 30d
Description
I would like to connect a new agent to our Jenkins Master. It uses the paragraph character § in the password and the authentication fails (wrong password). Unfortunately, I am not allowed to change the password.
When I connect manually via ssh from a Linux machine, it asks for the password and accepts it. Without those special characters, the connection would also work from Jenkins. So I assume it's a bug in the plugin.
Unfortunately, it's not possible to use a SSH key instead of a password with this plugin. Would have been a viable alternative.
---
Originally reported by vogtmh, imported from: Paragraph character in password not working
ifernandezcalvo
Raw content of original issue
I would like to connect a new agent to our Jenkins Master. It uses the paragraph character § in the password and the authentication fails (wrong password). Unfortunately, I am not allowed to change the password.
When I connect manually via ssh from a Linux machine, it asks for the password and accepts it. Without those special characters, the connection would also work from Jenkins. So I assume it's a bug in the plugin.
Unfortunately, it's not possible to use a SSH key instead of a password with this plugin. Would have been a viable alternative.
- environment:
Jenkins 2.401.1, SSH Build Agents 2.877.v365f5eb_a_b_eec
3 attachments
- [image-2023-06-19-17-50-11-771.png](https://issues.jenkins.io/secure/attachment/60612/image-2023-06-19-17-50-11-771.png)
> 
- [image-2023-06-19-17-50-55-293.png](https://issues.jenkins.io/secure/attachment/60613/image-2023-06-19-17-50-55-293.png)
> 
- [image-2023-06-19-18-01-29-087.png](https://issues.jenkins.io/secure/attachment/60614/image-2023-06-19-18-01-29-087.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.