admin管理员组文章数量:1619183
I was using scp
command to download files and folders to local environment. This was my command:
scp -r xxx@10.26.9.90:/data/xxx/folder/ e:/data/xxx/
But the following error raised:
ssh: Could not resolve hostname e: Temporary failure in name resolution
As it indicates, I want to move files to local e disk. But the colon :
would be interpreted as an indicator of hostname (or followed by a hostname).
Then I tried:
scp -r xxx@10.26.9.90:/data/xxx/folder/ localhost:/e/data/xxx/
as some articles indicated, but failed.
But then I realized that I was doing all these in the remote terminal, not the local command line terminal! So then I pressed WIN+R
and typed:
scp -r xxx@10.26.9.90:/data/xxx/folder/ /e/data/xxx/
After entering my password, everything goes smooth.
本文标签: hostnameResolveSSHResolutionfailure
版权声明:本文标题:ssh: Could not resolve hostname e: Temporary failure in name resolution 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728786680a1173418.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论