我bash 4.3.26 (i686-pc-msys)在 Windows 上使用 msys2,最近我发现它破坏了我的pscpand scp (msys1):
当我跑步时pscp req.py hostname:/home/user/xxx/yyy/:
msys将第二个参数更改为hostname;D:\msys\home\user\xxx\yyy\pscp会报告:ssh_init: Host does not existscp来自 msys-1.0 (我曾经使用过 git-for-windows 1.9)报告ssh: Could not resolve hostnamehostname;d: no address associated with name这很烦人,我必须打开cmd.exe才能使用pscp。有什么方法可以阻止 MSYS 2 转换特殊参数吗?
'or中"但失败了scp.exe同包msys2效果很好顺便说一句,这个问题只发生在那些不使用 msys2 DLL …