Windows10:Scp失败错误'CreateProcessW失败错误:2'

问题描述

这里是问题: pc A ssh-> pc B:成功! pc B ssh-> pc A:成功!

pcA>scp -P $port $files $pcB@$domain:"$path" #success
files                          100%  154    17.6KB/s   00:00

但是!

pcB>scp -vvv -P $port $files $pcA@$domain:"$path" #Failed with error code
Executing: program ssh.exe host $domain,user $pcA,command scp -v -t $path
CreateProcessW Failed error:2
posix_spawn: No such file or directory

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)