首页 > 其他 > 详细

Could not resolve hostname 。。。。。。: Name or service not known

时间:2015-04-29 11:45:51      阅读:600      评论:0      收藏:0      [点我收藏+]

这个是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

原文:http://blog.csdn.net/u012965373/article/details/45362991

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!