github 无语的问题,Host does not exist

2023-08-05  本文已影响0人  吉凶以情迁

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:

其他:
https://www.githubstatus.com/
windows user/下
.ssh

Host github.com
  Hostname ssh.github.com
  Port 443
  User git

检查git.config是否配置了其他proxy

上一篇 下一篇

猜你喜欢

热点阅读