I dunno if it can or can't work, but give a try for $HOME/.ssh/config and
ProxyCommand on master.

Garami Gábor
gabor.gar...@hron.me
Skype: hron84
Tel: +36 20 235 9621

Sent from my T-Mobile G2
Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat.
2012.10.28. 17:36, "Gergo" <gergo.peter.n...@gmail.com> ezt írta:

> Hi,
>
> Thanks for the quick answers.
> I found the "Tunnel connection through" configuration parameter in the
> "Launch method -> Launch slave agents via Java Web Start". I really
> wanted something similar but in the "Launch method -> Launch slave
> agents on Unix machines via SSH". I came across these parameters:
> "Prefix Start Slave Command", "Suffix Start Slave Command". Sadly I
> had a really old version of Jenkins which was missing these very cool
> options. With these I could execute an ssh command just before the
> slave started.
>
> Thanks,
> Gergo
>
> On Oct 16, 7:01 pm, Bryan Hunt <bryanh...@gmail.com> wrote:
> > Click the advanced button in the slave node configuration. There is a
> > tunnel configuration option for you.
> >
> >
> >
> >
> >
> >
> >
> > On Tuesday, October 16, 2012 10:50:33 AM UTC-7, Gergo wrote:
> >
> > > Hi,
> >
> > > I'm new to Jenkins and have the following problem. What do you think
> > > is the best way to configure in a Jenkins slave which is behind a
> > > gateway? To reach my test environment I need to go through a gateway.
> > > It would be great to somehow configure in the RemoteMachine (which is
> > > located behind the gateway) as a slave. Can I somehow configure in an
> > > ssh tunnel in Jenkins which could be used to reach the RemoteMachine?
> >
> > > Example
> > > LocalMachine (Jenkins CI Server) <---(ssh)---> Gateway <---(ssh)--->
> > > RemoteMachine (TestServer)
> >
> > > Thanks for the help!
> > > Gergo
>

Reply via email to