github 无语的问题,Host does not existfatal: Could not read from remote repository.

Unable to open connection:

Host does not existfatal: Could not read from remote repository.

image.png

image.png

image.png

Please make sure you have the correct access rights

and the repository exists.

如果github desktop和git pull 和git clone全部都出问题了,那问题出在路由器,或者dns上了,

在cmd中ping不同,不过是设置cmd代理或者设置git代理都没用,也就是cmdgit clone就提示host无法访问。

后面我又开窍了,我于是想到我直接拿个网卡连主路由器wifi看看

果然可以了,

由于我是旁路由组网,怎么设置网关没有bug还一直没找到办法,主要是打算让旁路由经过一些逻辑然后再转发给我的电脑的,而且不影响主路由,显然现在有点毛病,除非网络隔离,旁路由和主路由不在一个网段,但是显然我不能这么做,我是做工控机器组网,需要公网经过主路由访问到旁路由的ip端口。

github desktop的错误信息

Authentication failed. Some common reasons include:

  • You are not logged in to your account: see File > Options.
  • You may need to log out and log back in to refresh your token.
  • You do not have permission to access this repository.
  • The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
  • If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.
  • If you use SSH authentication, ensure the host key verification passes for your repository hosting service.
  • If you used username / password authentication, you might need to use a Personal Access Token instead of your account password. Check the documentation of your repository hosting service.

其他:https://www.githubstatus.com/

windows user/下

.ssh

复制代码
Host github.com
  Hostname ssh.github.com
  Port 443
  User git

检查git.config是否配置了其他proxy

相关推荐
LinXunFeng7 小时前
Obsidian - 使用 Share Note 分享笔记并自部署
前端·笔记·github
DayDaydream12 小时前
7 天涨了 8000+ Star,Agent Reach 想给 AI 装上互联网眼睛
github
天衍四九2 天前
Git从0到实战(四):冲突解决与版本回退 —— 别怕,出错了也能救
github
大刚测试开发实战2 天前
如何内网穿透访问本地私有化部署的TestHub
前端·后端·github
uhakadotcom3 天前
在python 的 工程化架构中 ,什么是 薄包装器层?
后端·面试·github
Avan_菜菜3 天前
AI 能写代码了,为什么我反而开始要求它先写文档?
前端·github·ai编程
逛逛GitHub4 天前
这个爆红的 GitHub 项目让 token 直接省 60–95%。
github
iccb10134 天前
5年,一个程序员是如何把私有化在线客服系统做到第一名的
前端·后端·github
蝎子莱莱爱打怪4 天前
AI Agent 相关知识扫盲:16 个概念+11张图+38个开源项目推荐
人工智能·github·agent
用户317723070364 天前
Pydub:用 Python 处理音频,不写废话
github