How to access a destination via ssh terminal in senhasegura and simultaneously issue a remote command?

[3.24 and below]

To do this, use the following command:

ssh -t targetuser@target "sudo bash"

Other access parameters are not recognized by senhasegura and the following error will be displayed "“Unknown option”, for example:

ssh -t someuser[targetuser@target]@senhasenha "sudo bash"