How to work with a SSH Jump Server?

XMLWordPrintable

    • Type: New Feature
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: ssh-steps-plugin
    • Environment:
      A Jenkins server that can access the public network, some servers on the intranet, and an SSH server that can access the intranet servers.

      I need to push the build artifacts to the internal server via the Jenkins server. However, the internal server needs to connect through an SSH Jump Server. How can the Jenkins pipeline task use the SSH Pipeline Steps plugin's sshput/sshcommand to connect through the SSH Jump Server when connecting to the server?

      Command line example:

      ssh user@server.example.com -J jumpuser@jumpserver.example.com 

            Assignee:
            Naresh Rayapati
            Reporter:
            huangsijun17
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: