Extra args - SSH

benjamin January 6, 2025

 

Hello, sorry to be a bother but I'd like to submit more that one extra arg and having trouble doing so.

I'm having trouble connecting to my SSH server and need debugging on with the options.

I'd like to send these 3 or more Extra args

-vvv my.servers.ip.address

-o IPQoS=none

-o ControlMaster=auto

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 7, 2025

Hello @benjamin ,

Thanks for reaching out to the Community!

Based on your description, I assume you're using the pipe atlassian/ssh-run to access your SSH server. If that is not the case, we kindly ask you to share how you are executing the SSH command.

That being said, when using the pipe atlassian/ssh-run, you can provide additional arguments to the SSH command using the pipe's variable named EXTRA_ARGS. Following is an example of it's usage:

- pipe: atlassian/ssh-run:0.8.1
    variables:
      SSH_USER: '<user>'
      SERVER: '<IP>'
      MODE: '<mode>'
      COMMAND: '<command>' # 
      EXTRA_ARGS: '-o IPQoS=none -o ControlMaster=auto -vvv'

You can provide multiple arguments, that will be treated by the pipe as arguments to the ssh command executed under the hood.

Could you try that suggestion and let us know how it goes? 

For additional information and examples about that pipe, you can check its official documentation here.

Thank you, @benjamin !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events