Closed agritheory closed 2 years ago
Hi @agritheory
Maybe a little bit silly, but it seems that the multi-line command in your example is missing some backslashes \
at the end of a line:
--ssh-target-key ~/.ssh/nomad
--ssh-target-sudo-pass {{redacted}}
Without such a slash, bash will not take the following lines as arguments...
Can you try your command with those slashes?
@jsiebens Thanks for taking a look at this, that was exactly the problem.
I am passing the
--ssh-target-sudo-pass
flag and commands are failing. Command and output below. While this is the same error message as #12, I don't think it's the same root issue.Output:
Output with the -v flag:
I also tried running this without the flag and having provided sudo/no password permissions to the user in question