Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66262

CLI command using SSH failed with SSH server 3.1.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: ssh-plugin
    • Labels:
      None
    • Environment:
      OS: CentOS7
      Jenkins version 2.289.3
      SSh Server plugin: 3.1.0
    • Similar Issues:

      Description

      Hi,

        With SSH Server plugin versuion 3.0.3, I was able to run cli commands like

       

      cat script.groovy | ssh -vvv -o IdentitiesOnly=yes -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /var/lib/jenkins/.ssh/id_dsa -l localcli -p 8090 localhost groovy =

       

      but today I updated SSH server to 3.1.0 and I get errors like

       

      debug1: Authentications that can continue: publickey
      debug2: we did not send a packet, disable method
      debug1: No more authentication methods to try.
      Permission denied (publickey).

      and in jenkins.log I see messages like

      2021-07-31 23:13:45.754+0000 [id=126] WARNING o.a.s.c.u.logging.LoggingUtils#warn: handleUserAuthRequestMessage(ServerSessionImpl[null@/0:0:0:0:0:0:0:1:60016]) Failed (IllegalArgumentException) to authenticate using factory method=publickey: No verifier located for algorithm=ssh-dss
      2021-07-31 23:14:58.052+0000 [id=127] WARNING o.a.s.c.u.logging.LoggingUtils#warn: handleUserAuthRequestMessage(ServerSessionImpl[null@/0:0:0:0:0:0:0:1:60022]) Failed (IllegalArgumentException) to authenticate using factory method=publickey: No verifier located for algorithm=ssh-dss

      Any idea why my cli commmand is not working with SSH Server 3.1.0?

      Thanks, --Shahzad

        Attachments

          Activity

          smuzaffar Shahzad MUZAFFAR created issue -
          Hide
          smuzaffar Shahzad MUZAFFAR added a comment -

          any suggestion?

          Show
          smuzaffar Shahzad MUZAFFAR added a comment - any suggestion?
          Hide
          smuzaffar Shahzad MUZAFFAR added a comment -

          I updated jenkins to 2.303.1 but still SSH Server plugins 3.1.0 fails. Any suggestions?

          Show
          smuzaffar Shahzad MUZAFFAR added a comment - I updated jenkins to 2.303.1 but still SSH Server plugins 3.1.0 fails. Any suggestions?

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            smuzaffar Shahzad MUZAFFAR
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: