Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use the ssh task in bamboo

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 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

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

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

Events near you