Re: Configure Jenkins slave through ssh gateway
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
Re: Configure Jenkins slave through ssh gateway
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
Configure Jenkins slave through ssh gateway
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
Re: Configure Jenkins slave through ssh gateway
On Tue, Oct 16, 2012 at 12:50 PM, Gergo gergo.peter.n...@gmail.com 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) My jenkins machine is behind a firewall, and I use the -D option of ssh to set up a socks5 proxy I can point firefox to to get connected to jenkins HTH, Andrew Thanks for the help! Gergo -- -- Andrew Melo
Re: Configure Jenkins slave through ssh gateway
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