Status: Closed (View Workflow)
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)
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]]
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?
Yes, It works beautifully, i can see the jumphost was connected from jenkins job log, big thanks for the help!
I'm going to leave this open as something to fix for the "test connection" feature
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.
It looks like authentication is failing in the chain of connections, either the jump host or the final endpoint.