I have an ssh key that I want to use to ssh onto a dev server from bamboo's server. I am able to ssh onto the dev server from bamboo's server if I get into the bamboo terminal using remote desktop (with ssh key copied over), but it fails if I try to ssh from within the "ssh task". I tried copying over the fingerprint for verification too but it says
simple 05-Sep-2019 11:42:52 Connecting to on port: 22
error 05-Sep-2019 11:42:53 Failed to connect to host
error 05-Sep-2019 11:42:53 java.net.ConnectException: Connection refused: connect
I have checked that port 22 is open when outgoing, and I am able to ping the dev server from within a bamboo task, so whats going on here? Why can't I connect ssh from within a bamboo task?
(full stack trace here https://stackoverflow.com/questions/57810205/reasons-for-ssh-task-to-fail-to-connect-in-atlassian-bamboo)
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events