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

Multiple servers configuration ssh : jenkins.plugins.publish_over.BapPublisherException: Failed to connect session for config

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Environment:
      Jenkins ver. 2.19.4 on Linux u3 3.13.0-105-generic #152-Ubuntu SMP Fri Dec 2 15:37:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
      (Vagrant machine)
    • Similar Issues:

      Description

      default connection ssh works but when you have two ssh servers, you put the each rsa private key in each server and the default key is blank. You test it and you have:
      Failed to connect or change directory
      jenkins.plugins.publish_over.BapPublisherException: Failed to connect session for config [ora10g@FR-8L3GXW1B]. Message [Auth fail].
      You supress Remote Directory. Same bad result.
      And you put a default rsa private key and a specific rsa private key : Same bad result

        Attachments

        1. error 1a.JPG
          error 1a.JPG
          82 kB
        2. error 1b.JPG
          error 1b.JPG
          104 kB
        3. error 1c.JPG
          error 1c.JPG
          37 kB
        4. error 1d.JPG
          error 1d.JPG
          77 kB

          Activity

          Hide
          lazyshot Bryan Peterson added a comment -

          We are seeing the same issue, including trying to remove the passphrase from the advanced config options for the specific server.

          All other servers using the default key works just fine, just the one that requires a special key.

          Workaround: Allow the default key access to the server.

          Show
          lazyshot Bryan Peterson added a comment - We are seeing the same issue, including trying to remove the passphrase from the advanced config options for the specific server. All other servers using the default key works just fine, just the one that requires a special key. Workaround: Allow the default key access to the server.
          Hide
          slide_o_mix Alex Earl added a comment -

          I'm not sure I understand the issue, can you please describe what is going wrong?

          Show
          slide_o_mix Alex Earl added a comment - I'm not sure I understand the issue, can you please describe what is going wrong?

            People

            • Assignee:
              Unassigned
              Reporter:
              pviltard Pascal VILTARD
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: