ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The

Posted 天使未必在场

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The 相关的知识,希望对你有一定的参考价值。

  问题出现的情景:使用git pull拉取开发的代码到测试服务器,报错:

  ssh: Could not resolve hostname git.****-inc.com : Temporary failure in name resolution fatal: The remote end hung up unexpectedly

解决:

1.确定本地的ssh相关的文件是正确的(参考【本地服务器配置Git

2.尝试了网上的方法,不是没root权限无法执行就是没解决问题,后来找运维解决了

原因是:有人更改了服务器的文件,导致dns服务器被防火墙拉黑了,见下图(来自运维),运维同学将该服务器开放出来就好了;

 

以上是关于ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The 的主要内容,如果未能解决你的问题,请参考以下文章

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

ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The

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

解决:使用ssh-copy-id命令时出现ERROR: ssh: Could not resolve hostname hadoop01:Name or service not known

Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname