CreateProcessW failed error:2 posix_spawn: No such file or directory 解决

发现是Windows openSSH 软件包的问题。
在 ProxyCommands 中,它请求完整的路径限定符,但最好在此处使用正斜杠!
于是改为

Host of15
    HostName 123.125.47.xxx
    Port 1615
    User lixiang
    IdentityFile C:\Users\MyPC\Desktop\lixiang\id_rsa

Host of16
    HostName 192.168.1.xx
    User lixiang
    ProxyCommand C:/Windows/System32/OpenSSH/ssh.exe -W %h:%p of15

StrictHostKeyChecking no
UserKnownHostsFile /dev/null

猜你喜欢

转载自blog.csdn.net/weixin_43838785/article/details/129170573