ProxyJump CreateProcessW error
Errors like the following are usually related to use of the SSH client's ProxyJump
directive:
> ssh s2.example.com
CreateProcessW failed error:2
posix_spawn: No such file or directory
To work around this, replace the ProxyJump
directive in your ~/.ssh/config
file with the equivalent ProxyCommand
directive:
Host s2.example.com
- ProxyJump s1.example.com
+ ProxyCommand ssh.exe -W %h:%p s1.example.com