Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH task not exiting cleanly

Tom Wimsatt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2018

My SSH tasks are leaving open SSH sessions behind rather than exiting and closing out the sessions. I added 'exit' at the end of each command and it still leaves the sessions behind. Is there something else I need to do or configure?

1 answer

1 vote
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 2, 2018

Hi Tom,

  • If you run this task in an SSH script from the command line does it work?
  • Are you seeing any errors reported which should cause the script to exit?

I'd be interested to see if the workaround the user listed in  BAM-16368 would work for you and if this is similar behavior.  Try the suggestion by Davin and let us know.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events