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

相关推荐
慕容长风23 分钟前
github使用指南
github
WYiQIU2 小时前
从今天开始备战1月中旬的前端寒假实习需要准备什么?(飞书+github+源码+题库含答案)
前端·javascript·面试·职场和发展·前端框架·github·飞书
一念一花一世界2 小时前
Arbess从基础到实践(20) - 集成GitHub+SonarQube实现Java项目自动化部署
java·github·cicd·arbess
CoderJia程序员甲3 小时前
GitHub 热榜项目 - 日榜(2025-12-17)
ai·开源·大模型·github·ai教程
编程修仙17 小时前
github的使用
github
白驹过隙^^18 小时前
OB-USP-AGENT安装使用方法
数据库·经验分享·网络协议·tcp/ip·github·ssl
xlp666hub19 小时前
手写 Linux 并发服务器,fork, pthread与 epoll 模型实战(包含深层原理剖析)
github·c
火车叼位20 小时前
小白也能学会:AI分离人声 + FFmpeg替换音轨全流程
github
程序媛Dev21 小时前
平台工程新范式:我扔掉了本地环境,开发体验直接起飞。
github
逛逛GitHub21 小时前
这个 GitHub 神器让 Gemini 写的网站 3 秒上线,累计部署 67 万个网站。
github