Clash-Fake-IP模式下Git-SSH连接失败

问题现象 执行 git fetch --all 报错: 1 2 Connection closed by 198.18.0.35 port 22 fatal: Could not read from remote repository. 排查过程 1. 确认 remote 地址 1 2 git remote -v # origin git@github.com:xxx/yyy.git 使用的是 SSH 协议。 2. 排查 DNS 解析 1 2 3 nslookup github.com # Name: github.com # Address: 198.18.0.35 198.18.0.35 不是 GitHub 真实 IP,属于 198.18.0.0/15 保留段。这是 Clash Fake-IP 模式 的特征,即 DNS 返回虚拟 IP,由 Clash 透明代理接管流量。 ...

2026年6月13日 · 2 分钟 · Kerolt

Kind 与 Minikube 配置代理

What 本地的 kind / minikube 集群拉取镜像时,总是报同一个错误: 1 spec.containers{nginx}: Failed to pull image "nginx:alpine": failed to pull and unpack image "docker.io/library/nginx:alpine": failed to resolve reference "docker.io/library/nginx:alpine": failed to do request: Head "https://registry-1.docker.io/v2/library/nginx/manifests/alpine ": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused 明明宿主机上已经开着代理(Clash,7890 端口),为什么容器里还是连不上? ...

2026年3月5日 · 3 分钟 · Kerolt