xiaoqingfengATGH / HomeLede

An Openwrt firmware for home use scenarios.
https://github.com/xiaoqingfengATGH/HomeLede/wiki
Other
1.06k stars 186 forks source link

主路由模式下开启passwall后git pull出现kex_exchange_identification错误 #100

Open erguotou520 opened 3 years ago

erguotou520 commented 3 years ago

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

最近刷了自己编译的固件以及HomeLede项目的固件,在开启passwal后都会出现Github代码拉取错误

(1) 具体问题

git pull时报错

kex_exchange_identification: Connection closed by remote host
Connection closed by 13.250.177.223 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

ssh -vT git@github.com执行结果为

OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data ~/.ssh/config
debug1: ~/.ssh/config line 1: Applying options for github.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to github.com port 22.
debug1: Connection established.
debug1: identity file ~/.ssh/id_rsa_github type 0
debug1: identity file ~/.ssh/id_rsa_github-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
kex_exchange_identification: Connection closed by remote host

(2) 路由器型号和固件版本

路由器 AMD GX-420GL SOC with Radeon(TM) R1E Graphics : 4 Core 4 Thread (CpuMark : 33739.743885 Scores) CPU 信息

固件版本 HomeLede v2021.02.27 based on OpenWrt R21.2.1 / LuCI Master (git-21.037.51918-08b66fb)

(3) 已知信息

  1. 主路由用的是x86机器,lan口是usb转的千兆口,wan口是板载,调换网口问题依旧
  2. 已知机场工作正常
  3. 树莓派3B+上开启passwall作为旁路由使用可以正常pull
  4. 其它机场可以正常pull代码
  5. 如果DNS选择不过滤也可以正常pull,但是速度很慢,应该是没有经过代理
LiWeny16 commented 1 year ago

确实有这个问题