0

I am trying to run the process:

Run Process       python   ssh -o ProxyCommand='ssh -W %h:%p 10.10.10.10' 10.xxx.xxx.xxx

But am getting below error:

"Keyword argument 'ssh -o ProxyCommand' is not supported by this keyword"

Need help here to run my command

4

1 回答 1

0

这是来自Run Process的文档:

请注意,*arguments 中可能的等号必须用反斜杠(例如 name\=value)转义,以避免它们作为 **configuration 传入。

所以,你需要\=:

ssh -o ProxyCommand\=...

您可能还需要删除python,并且您可能还需要使用shell=True,但这与您提出的有关此特定错误消息的问题无关。

于 2020-06-16T13:03:18.323 回答