scp ssh: Could not resolve hostname d: Temporary failure in name resolution

昨天被上面这个报错折腾了一下午,终于解决了。

我真的 很气。

原来的代码

scp xxx@xxxx:/data2/historydata1749.csv D:\datafromserver

报错:使用scp复制文件No such file or directory_小青头的博客-CSDN博客

之前这个方法是可以的,从昨天突然不可以了。

最后的解决方法:

不要在服务器那边执行命令。

在自己本机 win+R

在输入框输入:

scp xxx@xxxx:/data2/historydata1749.csv D:/datafromserver/

成功!

猜你喜欢

转载自blog.csdn.net/weixin_39915444/article/details/123811535