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

相关推荐
CoderJia程序员甲5 小时前
GitHub 热榜项目 - 日榜(2026-03-25)
人工智能·ai·大模型·github·ai教程
MicrosoftReactor6 小时前
技术速递|底层机制:GitHub Agentic Workflows 的安全架构
安全·ai·github·agent·安全架构
CoovallyAIHub7 小时前
AAAI 2026 | AnoStyler:文本驱动风格迁移实现零样本异常图像生成,轻量高效(附代码)
算法·架构·github
CoovallyAIHub7 小时前
500M参数就能跑视觉语言模型?Moondream把VLM塞进了边缘设备
算法·架构·github
徐小夕8 小时前
一个普通Word文档,为什么99%的开源编辑器都"认怂"了?我们选择正面硬刚
vue.js·后端·github
Mahut9 小时前
从零构建神经影像可视化库:neuroviz 的架构设计与实现
前端·javascript·github
m0_6948455710 小时前
Docker 从入门到实践教程:docker_practice 完整学习指南
运维·服务器·docker·容器·云计算·github
TT哇11 小时前
将 Gitee 混合项目仓库拆分并精准迁移至 GitHub(保留完整 Commit 历史)
gitee·github
阿里嘎多学长12 小时前
2026-03-24 GitHub 热点项目精选
开发语言·程序员·github·代码托管