Open mariadb-JeffBachtel opened 3 years ago
I found a hacky work-around for this: add a space before "-t" and quote it:
mssh ... -t i-0adf520869ae1a4ca my-host.com " -t" bash
This works, because mssh calls .strip()
for unknown arguments: https://github.com/aws/aws-ec2-instance-connect-cli/blob/470ed6758fae737c28385947b005ecdf4092b08c/ec2instanceconnectcli/input_parser.py#L87
Currently, mssh uses the short option
-t
which conflicts with an existingssh
option (ptty allocation).It would be great if the short option(s) could be removed, or if alternatively an environment variable could be set to eliminate short options altogether.