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

SSH Publish Plugin - Unable to use the private key provided in the key path

XMLWordPrintable

      We use SSH Tectia for our SSH connectivity. In my Jenkins job, i have provided the userid (destination) and the private keyfile (absolute path in the Source box). When i try to test the configuration it fails with the below exception

      Failed to connect or change directory

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

      But the same connection id works through command prompt and i can see the keyfile is the same that i have provided.

            slide_o_mix Alex Earl
            dvs Dinesh S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: