Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Not A Defect
-
Component/s: ssh-credentials-plugin
-
Labels:
-
Environment:Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11)
Java 8
RHEL 7
SSH Credentials Plugin 1.11/1.10
-
Similar Issues:
Description
When executing a shell command like ssh to connect to a server (with ssh credentials plugin v1.11), the connection fails with:
09:36:59 Authorized uses only. All activity may be monitored and reported.
09:36:59 Permission denied, please try again.
09:36:59 Permission denied, please try again.
09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx
09:36:59 lost connection
09:36:59 Build step 'Execute shell' marked build as failure
09:36:59 [ssh-agent] Stopped.
After downgrading to version 1.10 everything works fine.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Environment |
Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11) Java 8 RHEL 7 |
Jenkins ver. 1.625.3.1 (CloudBees Jenkins Enterprise 15.11) Java 8 RHEL 7 SSH Credentials Plugin 1.11/1.10 |
Description |
When executing a shell command like ssh to connect to a server, the connection fails with: 09:36:59 Authorized uses only. All activity may be monitored and reported. 09:36:59 Permission denied, please try again. 09:36:59 Permission denied, please try again. 09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx 09:36:59 lost connection 09:36:59 Build step 'Execute shell' marked build as failure 09:36:59 [ssh-agent] Stopped. After downgrading to version 1.10 everything works fine. |
When executing a shell command like ssh to connect to a server (with ssh credentials plugin v1.11), the connection fails with: 09:36:59 Authorized uses only. All activity may be monitored and reported. 09:36:59 Permission denied, please try again. 09:36:59 Permission denied, please try again. 09:36:59 Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for xxx 09:36:59 lost connection 09:36:59 Build step 'Execute shell' marked build as failure 09:36:59 [ssh-agent] Stopped. After downgrading to version 1.10 everything works fine. |
Resolution | Not A Defect [ 7 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | JNJira [ 168573 ] | JNJira + In-Review [ 209699 ] |
Most likely you have multiple keys in your credentials and the ssh server is not configured to allow sufficient attempts in order to let the correct key work.