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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

SSH Multiple Command on pipeline ssh-run

Hi Guys,


I have a pipeline and need to run 4 .sh files on the mode script and my pipeline as follows : 

- step:
name: Deploy to ciamsworker01
- pipe: atlassian/ssh-run:0.2.2
SSH_USER: $ciamsuser
SERVER: $server
PORT: $worker01port
MODE: 'script'
I need to run another command than, is it possible? 
PS : i tried using && and ; and the file become unread(no such file or directory)

1 answer

0 votes
Ben Atlassian Team Apr 03, 2022

Hey Revan,

Based on the ticket description, it appears you wish to run commands one after the other - if this is the case, I believe that this past community post will answer your question:

Hope this helps.

- Ben (Bitbucket Cloud Support)

Hi Ben,

It's not working when I put more than one shell file to execute.

The scripts become No Such files or directory please find my screenshot.SSH1.png

Ben Atlassian Team Apr 05, 2022

Hey Revan,

Are you able to ensure the path is correct? I'm noticing that there is no "./" on the other bash script listing. Can you maybe try to create a bash script in the same folder as which echos a message and attempt to run it?

Ie ./Worker-CWI/ && ./Worker-CWI/

By doing so, you can test if it's an issue with the path or with the command/syntax.


- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events