ssh:could not resolve hostname XXX:Temporary failure in name resolution
今天使用虚拟机提交github项目发现出现:
ssh:could not resolve hostname XXX:Temporary failure in name resolution
先是ping了一下github.com,发现虚拟机内的Linux访问不了这个网站
后来去站点查了一下网站的ip
发现绑定了很多ip,我先是逐步尝试ping每个ip
先是ping了第一个140.82.114.4发现ping通了
怀疑github绑定的域名变了。
所以就怀疑是我的系统解析dns出了错误,使用的dns服务器没有更新
所以我就在hosts文件里手动定向这个ip
sudo vim /etc/hosts
在末尾输入:
140.82.114.4 github.com
在次ping:
ping通啦
在使用github命令提交即可~
顺便分享一个查询域名的网站:
https://www.ip138.com/
ssh:could not resolve hostname XXX:Temporary failure in name resolution相关推荐
- scp ssh: Could not resolve hostname d: Temporary failure in name resolution
昨天被上面这个报错折腾了一下午,终于解决了. 我真的 很气. 原来的代码 scp xxx@xxxx:/data2/historydata1749.csv D:\datafromserver 报错:使用 ...
- hadoop启动报错:localhost: ssh: Could not resolve hostname localhost
hadoop启动journalnode时报错:localhost: ssh: Could not resolve hostname localhost: Temporary failure in na ...
- scp命令传输出现ssh: Could not resolve hostname错误
ssh: Could not resolve hostname xxxxx: Temporary failure in name resolution 原因是docker导出的镜像需要离线导入,在命名 ...
- 错误提示:ssh: Could not resolve hostname devsrv: Name or service not known
ssh: Could not resolve hostname devsrv: Name or service not known ubuntu下 scp时出错:ssh: Could not reso ...
- 使用vscode连接阿里云服务器报错: ssh: Could not resolve hostname Name or service not known
ssh: Could not resolve hostname Name or service not known vscode配置里面你把那个hostname不写试试连接 Host 公网ipPort ...
- git报错 ssh: Could not resolve hostname gitee.com:xxxxxx: Name or service not known fatal
问题 使用git进行push操作时突然出问题,报错如下: ssh: Could not resolve hostname git: xxxxx:Name or service not known fa ...
- 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, o ...
- Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname
今天本地Git Push 代码推送远程分支,提示如下错误信息: zzg@LAPTOP-8R0KHL88 MINGW64 /e/idea_workspace (master) $ git push ss ...
- 配置免密登录报错:ssh: Could not resolve hostname note1: Name or service not known
这两天配置免密出现这个错误: [root@note4 .ssh]# ssh note1 ssh: Could not resolve hostname note1: Name or service n ...
最新文章
- 《高效程序员的45个习惯》之体会
- mysql基础----mybatis的批量插入(一)
- java 结构体_Java实现单链表的简单操作
- 使用Spring Security和OAuth 2.0保护Spring微服务架构
- 泰安第一中学2021年高考成绩查询,等级考第一天结束 泰安部分考生已完成2021年高考...
- Python机器学习:KNN算法04f分类准确度
- python读取xml文件内容_python读取xml文件
- 【Oracle】手工建库时启动到nomount状态时错误ORA-09925,ORA-01017
- 【UE·蓝图】UE4蓝图MediaPlayer注意事项
- 心情不好的时候,用 Python 画棵樱花树送给自己吧
- docker网络问题
- Rhino6.25软件安装教程|兼容WIN10
- e-mobile服务器地址显示无法登陆,E-Mobile服务器安装设置手册.doc
- 关于5G的理解:5G的发展历程、5G原理
- IOS安卓友盟消息推送详细配置以及证书更新
- Unity移动端游戏性能优化简谱之 以引擎模块为划分的CPU耗时调优
- Tomcat启动异常 Failed to read candidate component class 解决办法
- 安卓源代码_中科信安发现一款针对安卓的恶意软件已被开源,专门针对手机银行...
- android Bitmap 处理踩坑记
- python value_counts_pandas中.value_counts()的用法
热门文章
- python是开源的.它可以被移植_python是开源的,它可以被移植到许多平台上,是对的吗?...
- python 协程爬虫_Python爬虫进阶教程(二):线程、协程
- idea中git替换,推送到新的github或者gitlab上面
- centos8 开启ftp服务
- python docx 合并文档 图片_使用python抓取大量简历文档内数据(word:docx;pdf;图片等)输出表格文件...
- centen os7安装maven
- Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1696 1024)
- 获取referer中的请求参数_http请求的referer属性
- channelinboundhandler中都包含了哪一类的方法_标准气体的分类类别与相关气体配置方式方法...
- 聚类算法分析及其性能比较