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

SSH slaves plugin support for proxy/ bastion/ jumpbox

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None

      I have a Jenkins Master running on serverA in vpcA.

      I have a server serverB that leaves in vpcB that I would like to register as a Jenkins slave.

      I have a jumpbox serverC that is accessible from anywhere.

      I can connect from serverA to serverB if I proxy through serverC first.

      I can connect with no problems with an ssh config file on the master similar to:
       

      Host slave
        User andrei
        ProxyCommand ssh andrei@gateway nc %h %p
      

      I would like to be able to connect serverB as a slave of Jenkins (serverA).
      I looked into launching the agent via execution of command on the slave, but that requires the agent.jar to be placed there - is there another way of doing this? Surely if connection from the master to the slave is possible, this could be done automatically, perhaps as part of this plugin?
       

          [JENKINS-59491] SSH slaves plugin support for proxy/ bastion/ jumpbox

          Andrei Muresianu created issue -
          Ivan Fernandez Calvo made changes -
          Link New: This issue blocks JENKINS-56485 [ JENKINS-56485 ]
          Ivan Fernandez Calvo made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            ifernandezcalvo Ivan Fernandez Calvo
            andreimuresianu Andrei Muresianu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: