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

相关推荐
wangruofeng8 小时前
120+ 个 Agent Skill 管不过来?我造了套「包管理器」:仓库是源,链接是安装
github·aigc·ai编程
七牛云行业应用8 小时前
Cursor Origin发布:同一天GitHub宕机,AI原生代码托管来了
人工智能·github·agent·ai编程·ai-native
xyz_CDragon8 小时前
GitHub上4个爆款AI开源Skill:拍照后不用P图,用Codex一键生成高级海报(附效果图+使用教程)
人工智能·python·github·codex·skill
天若有情67313 小时前
表面普通随机数网页,藏有隐藏后台面板,暗号解锁|Github Pages 在线演示
github
典典分享指南16 小时前
DeepSeek Harness 开源贡献手记:从 Issue 到 Merge 的完整旅程
jupyter·github·vim·idea·visual studio
峰向AI19 小时前
坚持不下去?这个 14K Star 的 App 把你的习惯变成 RPG 游戏
github
Bmob后端云20 小时前
Bmob后端云实战|Python实现SSE流式输出,给备忘录AI加上打字机效果
前端·github
峰向AI1 天前
还在手动配 SSL 证书?这个 75K Star 的 Web 服务器让 HTTPS 自动到起飞
github
Java陈序员1 天前
轻量运维面板!一款现代化的服务器控制面板工具!
运维·服务器·python·react.js·github
u1301301 天前
GitHub 热榜项目:日榜(2026-09-10)
github