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

jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      My Gmail is subhra7667.routray@gmail.com.
      If you have any doubt regarding understanding issue ,please mail your query to my gmail id,i ll get back to you.

        Attachments

        1. config.jpg
          config.jpg
          83 kB
        2. jenkin.png
          jenkin.png
          28 kB
        3. JenkinError.docx
          71 kB
        4. JenkinPublishOverSSH.png
          JenkinPublishOverSSH.png
          52 kB
        5. plugin.jpg
          plugin.jpg
          55 kB

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          The message says "Auth fail" right in it in jenkin.png:

          jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [dev]. Message [*Auth fail*]].

          Show
          slide_o_mix Alex Earl added a comment - The message says "Auth fail" right in it in jenkin.png: jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [dev] . Message [* Auth fail *] ].
          Hide
          su398397 Subhransubala Routray added a comment -

          same password is working manually
          what debug log to be enabled?

          Show
          su398397 Subhransubala Routray added a comment - same password is working manually what debug log to be enabled?
          Hide
          slide_o_mix Alex Earl added a comment -

          There is not currently any debug log to be enabled.

          Show
          slide_o_mix Alex Earl added a comment - There is not currently any debug log to be enabled.
          Hide
          su398397 Subhransubala Routray added a comment -

          What are the steps required to debug log enabled?

          Show
          su398397 Subhransubala Routray added a comment - What are the steps required to debug log enabled?
          Hide
          bharathirajatut Bharathiraja added a comment -

          I faced the same error in Ubuntu 18. 

           

          I did the following to get success.

           

          Edit ssh config:
          sudo nano /etc/ssh/sshd_config

          Change this line:
          PasswordAuthentication no
          to
          PasswordAuthentication yes

           

          Restart daemon:
          sudo systemctl restart sshd

          Show
          bharathirajatut Bharathiraja added a comment - I faced the same error in Ubuntu 18.    I did the following to get success.   Edit ssh config: sudo nano /etc/ssh/sshd_config Change this line: PasswordAuthentication no to PasswordAuthentication yes   Restart daemon: sudo systemctl restart sshd

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            su398397 Subhransubala Routray
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: