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

Failure to connect - jenkins.plugins.publish_over.BapPublisherException: Failed to add SSH key. Message [invalid privatekey: TheKey]

    Details

    • Similar Issues:

      Description

      When configuring system in Jenkins (Jenkins --> Manage Jenkins --> Configure System) I locate the 'Publish over SSH' section and click 'Add'. I enter a 'Name', 'Hostname', 'Username', and 'Remote Directory'. I then click on the 'Use password authentication, or use a different key' checkbox. I enter the appropriate 'Path to key' to a known good ppk for an ssh key for connecting to a Linux server. When I click on Test Configuration I get the following error:
      Failed to connect or change directory
      jenkins.plugins.publish_over.BapPublisherException: Failed to add SSH key. Message [invalid privatekey: TheKey]

        Attachments

          Activity

          cbushnel Chadwick Bushnell created issue -
          bap bap made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 162016 ] JNJira + In-Review [ 196912 ]

            People

            • Assignee:
              bap bap
              Reporter:
              cbushnel Chadwick Bushnell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: