Error running a core.remote action

Hello.

When we try to run any command using the core.remote action on an F5 load-balancer, we get the following error:

Stderr: Syntax Error: unexpected argument “export”.

The F5 CLI is tmsh, not bash

Is there any way to execute commands for this type of shell?

Thank you.

This link https://support.f5.com/csp/article/K10272 seems to suggest you can set bash for remote users.

After looking at the ShellCommandAction class, it seems bash is hard coded, so it’d need to be patched with an option to handle the tmsh command run /util bash.