Publickey authentication failed.

Jenkins JIRA | Richard Fagot | 2 months ago
  1. 0

    When lauching a job, the droplet is created but when the plugin try to connect using ssh key it fails. AVERTISSEMENT: Publickey authentication failed. Publickey authentication failed. at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey( at com.trilead.ssh2.Connection.authenticateWithPublicKey( at com.dubture.jenkins.digitalocean.ComputerLauncher.launch( at hudson.slaves.SlaveComputer$ at jenkins.util.ContextResettingExecutorService$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: Decrypted PEM has wrong padding, did you specify the correct password? at com.trilead.ssh2.crypto.PEMDecoder.removePadding( at com.trilead.ssh2.crypto.PEMDecoder.decryptPEM( at com.trilead.ssh2.crypto.PEMDecoder.decode( at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey( ... 8 more The droplet created is a 512Mo with Ubuntu 16.04, user root using a public key declared in Digital Ocean console.

    Jenkins JIRA | 2 months ago | Richard Fagot Publickey authentication failed.
  2. 0

    SmartGit - gitosis | 1 year ago Publickey authentication failed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    connect to port SSH 22 through Eclipse

    Stack Overflow | 4 years ago | Abi Publickey authentication failed.
  5. 0

    ECDSA 521 bit keys auth always fails

    GitHub | 2 years ago | msoulatre-tt Invalid signature format

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis


      Decrypted PEM has wrong padding, did you specify the correct password?

      at com.trilead.ssh2.crypto.PEMDecoder.removePadding()
    2. Trilead
      1. com.trilead.ssh2.crypto.PEMDecoder.removePadding(
      2. com.trilead.ssh2.crypto.PEMDecoder.decryptPEM(
      3. com.trilead.ssh2.crypto.PEMDecoder.decode(
      4. com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(
      5. com.trilead.ssh2.Connection.authenticateWithPublicKey(
      5 frames
    3. com.dubture.jenkins
      1. com.dubture.jenkins.digitalocean.ComputerLauncher.launch(
      1 frame
    4. Hudson
      1. hudson.slaves.SlaveComputer$
      1 frame
    5. jenkins.util
      1. jenkins.util.ContextResettingExecutorService$
      1 frame
    6. Java RT
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(
      3. java.util.concurrent.ThreadPoolExecutor$
      4 frames