Could not resolve hostname 。。。。。。: Name or service not known
Posted 杨鑫newlfe
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not resolve hostname 。。。。。。: Name or service not known相关的知识,希望对你有一定的参考价值。
这个是ssh基本操作的连接,当你配置完ssh之后,然后明明是正确的,然后你使用命令:
ssh localhost然后出现了
Could not resolve hostname github.com: Name or service not known
等等类似的话,那么说明你忘记了一个配置就是:
/etc/hosts文件的映射:
如图配置就可以了。
以上是关于Could not resolve hostname 。。。。。。: Name or service not known的主要内容,如果未能解决你的问题,请参考以下文章
git提示错误关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not r
hadoop启动报错:localhost: ssh: Could not resolve hostname localhost
Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname
ssh修改默认端口号后无法连接(提示ssh: Could not resolve hostname)
ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The