Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,074
Community Members
 
Community Events
168
Community Groups

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

0 answers

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events