1 of 1 people found this helpful
Under Execution protocol "SSH + SUDO" the documentation says
"Executes commands directly on the agentless host using the credentials defined in an automation principal that you specify on this panel. The "sudo" command is attached as a prefix to all commands. If sudo requests a password, the password associated with the automation principal is used."
What I undersatnd that In your case you expect to attach "sudo sudosh" as a prefix to all commands that gets executed.
As per my understanding such customization is currently not supported.
I don't need 'sudo sudosh' attached as a prefix. I need it executed initially. It opens a subshell. Then all subsequent commands can be executed as if it was a straight 'SSH' automation principle.