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

相关推荐
YuePeng12 小时前
我用 30 行 Java 注解,做出了别人花三周写的管理后台,还顺手接入了 DeepSeek
后端·github
无心水14 小时前
【Hermes:MCP 与工具实战】28、GitHub MCP 深度实战:PR 审查、Issue、自动汇报全搞定
人工智能·github·issue·openclaw·养龙虾·hermes·honcho
逛逛GitHub15 小时前
GitHub 上狂揽 1.8 万 Star!开源平替的 Claude Design。
github
shisanjin12315 小时前
关于 IDEA2025 版本中对 git 的操作与使用
git·github·idea
希望未来不会秃16 小时前
【Git实战】如何将本地已有项目关联并推送到指定的远程仓库(保姆级教程)
git·gitee·github
- J°雾16 小时前
GitNexus 安装配置 + 网页版 GUI 使用教程(Windows 环境)
windows·开源·github·知识图谱
小橙讲编程16 小时前
40+kStar 的多智能体编排引擎 Ruflo 深度技术解析:Claude Code 如何从单兵作战进化为 AI 蜂群指挥系统
开源·github
bu_shuo18 小时前
hexo 上传到github命令报错
github
阿里嘎多学长18 小时前
2026-05-04 GitHub 热点项目精选
开发语言·程序员·github·代码托管
WindrunnerMax18 小时前
基于 Markdown-It 的无序列表折叠插件
前端·javascript·github