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

CLI command using SSH failed with SSH server 3.1.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ssh-plugin
    • None
    • OS: CentOS7
      Jenkins version 2.289.3
      SSh Server plugin: 3.1.0

      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

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

              Created:
              Updated: