How can I configure a Bamboo Deployment Task to use a SSH Bastion (jump) host to connect to the target deployment server to run a script?
I've tried configuring a .ssh/config file on the bamboo server. It works from the command line but it is ignored by Bamboo.
Bamboo doesn't support this - although it doesn't explicitly say so in the docs. It appears you're not the only one trying to do this. You have a couple of alternatives:
Bamboo SSH
task, create a Command
task that does what you want, i.e. calls the system install of ssh
.Command
task to call the system install of ssh
and forward a port via the bastion to the target, then use a Bamboo SSH
task through that tunnel.Bamboo SSH
task.ssh
a bit better, such as Jenkins.Hope that gives you some ideas!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With