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

相关推荐
Gladiator5756 小时前
博客记录-day145-力扣+编程题
github
曼陀罗9 小时前
用PR merge的时候出现冲突怎么办?
git·github
小华同学ai10 小时前
6.4K star!轻松搞定专业领域大模型推理,这个知识增强框架绝了!
前端·github
uhakadotcom11 小时前
Google Cloud IoT 平台入门:基础架构与示例详解
后端·面试·github
uhakadotcom12 小时前
程序化广告十年总结:通俗易懂的基础知识与实战案例解析
后端·面试·github
小华同学ai12 小时前
29.1K star!免费接入GPT-4/DeepSeek等顶级大模型,这个开源API神器绝了!
github
uhakadotcom14 小时前
如何在亚马逊Inferentia2芯片上部署和监控DeepSeek-R1蒸馏模型
算法·面试·github
逛逛GitHub15 小时前
这个 MCP 大本营发布,1400+ 工具等你来接。
人工智能·github
uhakadotcom15 小时前
PyTorch 2.0 一行代码加速模型,简单易懂的基础介绍和实用示例
后端·面试·github
Andy32216 小时前
027 期 数据安全新招!你的数据守护神来了?
安全·github