github网络错误处理
Posted hiyang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了github网络错误处理相关的知识,希望对你有一定的参考价值。
github网络错误处理
[root@node10 kodoe]# git pull origin:dev
ssh: Could not resolve hostname origin: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
-
测试和github的连通性
返回当前ssh-key在github上对应的用户
ssh -T git@github.com Hi PoplarYang! You‘ve successfully authenticated, but GitHub does not provide shell access.
-
如果1返回的是
Connection timed out
ssh -T git@github.com ssh: connect to host github.com port 22: Connection timed out
有可能DNS被污染,需要找到正确的解析。
13.250.177.223 github.com
以上是关于github网络错误处理的主要内容,如果未能解决你的问题,请参考以下文章
译文:18个实用的JavaScript代码片段,助你快速处理日常编程任务
错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段
错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段