• Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.138.4
      Publish Over SSH 1.20.1

      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]]

          [JENKINS-56119] jumphost not working in "Test Connection"

          Alex Earl added a comment -

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

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

          jesse wen added a comment -

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

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

          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?

          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?

          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!

          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!

          Alex Earl added a comment -

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

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

          jesse wen added a comment -

          sounds great!

          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)

          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.

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

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

              Created:
              Updated:
              Resolved: