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

How to work with a SSH Jump Server?

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • ssh-steps-plugin
    • 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 

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

              Created:
              Updated:
              Resolved: