git push 或者pull突然报错kex_exchange_identification
·
github中一直配置的ssh密钥登录,运行良好,突然有一天push的时候报错:
$ git push origin master
kex_exchange_identification: Connection closed by remote host
Connection closed by 198.18.2.17 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
网上查询都是改proxy和改ssh的_~/.ssh/config_,但是都是说VPN的锅,找了下配置,好像我误点了一个TUN模式,把它关掉就好了
更多推荐
所有评论(0)