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

jumphost not working in "Test Connection"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • None
    • Jenkins ver. 2.138.4
      Publish Over SSH 1.20.1

    Description

      I have tested which fw is allowed jenkins directly access is ok to target host.

      I am trying to use 'jumphost' feature in my env,  after test with below error. 

      From linux secure log on jumphost, can not find jenkins host passed ssh tunnel request. 

      Can you help? Thank you.

      [my env topology]

      172.16.4.200(jenkins) --> 172.16.4.201(jumphost, fw allowed) --> 172.16.248.11(target)

      [ERROR]

      jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [app]. Message [timeout: socket is not established]]

      Attachments

        Activity

          slide_o_mix Alex Earl added a comment -

          It looks like authentication is failing in the chain of connections, either the jump host or the final endpoint.

          slide_o_mix Alex Earl added a comment - It looks like authentication is failing in the chain of connections, either the jump host or the final endpoint.
          bluefox jesse wen added a comment -

          thank you for your update, i have updated my issue, can you help?

          bluefox jesse wen added a comment - thank you for your update, i have updated my issue, can you help?
          slide_o_mix Alex Earl added a comment -

          I'm not sure if the test connection takes jump hosts into account. Can you try using the host configuration in a job and see if it works there?

          slide_o_mix Alex Earl added a comment - I'm not sure if the test connection takes jump hosts into account. Can you try using the host configuration in a job and see if it works there?
          bluefox jesse wen added a comment -

          Yes, It works beautifully, i can see the jumphost was connected from jenkins job log,  big thanks for the help!

          bluefox jesse wen added a comment - Yes, It works beautifully, i can see the jumphost was connected from jenkins job log,  big thanks for the help!
          slide_o_mix Alex Earl added a comment -

          I'm going to leave this open as something to fix for the "test connection" feature

          slide_o_mix Alex Earl added a comment - I'm going to leave this open as something to fix for the "test connection" feature
          bluefox jesse wen added a comment -

          sounds great!

          bluefox jesse wen added a comment - sounds great!

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/93
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-56119%22

          (Note: this is an automated bulk comment)

          gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/93 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-56119%22 (Note: this is an automated bulk comment)

          Closing ticket, please use the corresponding Github Issue as linked above.

          gmcdonald Gavin McDonald added a comment - Closing ticket, please use the corresponding Github Issue as linked above.

          People

            Unassigned Unassigned
            bluefox jesse wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: