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

  问题出现的情景:使用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服务器被防火墙拉黑了,见下图(来自运维),运维同学将该服务器开放出来就好了;

原文地址:https://www.cnblogs.com/xpp142857/p/8283963.html

时间: 2024-08-18 23:52:47

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

git push 文件过大时出错,fatal: The remote end hung up unexpectedly

可以修改配置文件: 1 使用命令:git config http.postBuffer = 524288000 2修改git文件夹中的config文件,加入如下一段: [http] postBuffer = 524288000

git提交报异常,fatal: The remote end hung up unexpectedly

早上提交代码到 oschina代码库时,报了这个错误: Java代码   fatal: The remote end hung up unexpectedly 上网找了一下原因,各种答案都有,也是哈,这个提示太叼了,没有说明哪一部分有问题. 最后这个答案帮了我解决问题了. Java代码   git config http.postBuffer 524288000 我的问题估计是上传文件太大导致的.

【Git笔记】git报错 fatal: The remote end hung up unexpectedly

git提交报异常,fatal: The remote end hung up unexpectedly 上网找了一下原因,最后这个答案帮了我解决问题了. 1 git config http.postBuffer 524288000 我的问题估计是上传文件太大导致的. 参考原文:http://www.myexception.cn/mobile/1576333.html

Git配置非22端口,解决:ssh: connect to host xxx port 22: Connection timed out fatal: The remote end hung up unexpectedly

背景:私自搭建了Git服务器,而Git本身就是SSH进行连接的,而Git命令上默认只能通过22端口实现. 解决方法: 第一种: 在系统的用户目录下的文件夹:.ssh 如果该路径下没有config文件,则创建一个. config中添加如下内容: 如是以域名访问的则添加如下内容:(注意修改xxx为你的远程仓库的名称) Host xxx HostName xxx.com Port 3333 如是以IP访问的,则添加如下内容:(注意修改IP为你的远程仓库IP) Host "211.111.xx.xxx&

Git:fatal: The remote end hung up unexpectedly

一.配置公共密钥 https://help.github.com/articles/generating-ssh-keys/ 二.设置缓冲值(push文件较大时导致错误) \.git\config [http] postBuffer = 2428800

git push失败the remote end hung up unexpectedly

Git Push是老是失败,提示: fatal: the remote end hung up unexpectedlygit did not exit cleanly (exit code 1) 原来是文件Push文件太大引起.解决方法:windows:在 .git/config 文件中加入[http]postBuffer = 524288000 linux:git config http.postBuffer 52428800 git push失败the remote end hung up

git提示错误关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository.

关于 Git 使用中出现的错误 饥人谷_楠柒 关注 2016.11.02 15:33* 字数 746 阅读 3607评论 5喜欢 10赞赏 1 关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository. QQ截图20161102144048.jpg 在我配置完公钥后想要进行远端Github上clone时出现了错误.经

ssh: Could not resolve hostname gitcafe.com: nodename nor servname provided, or not known

今天 git push 的时候报如下错误: ssh: Could not resolve hostname gitcafe.com: nodename nor servname provided, or not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 最开始还以为是权限被修改了

ssh: Could not resolve hostname问题终于解决了?

1.如果系统为64位,无法启动启动hdfs: ./sbin/start-dfs.sh.并有以下错误: sed: -e expression #1, char 6: unknown option to `s' HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known 64-Bit: ssh: Could not resolve hostname 64-Bit: Name or servic