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模式,把它关掉就好了
在这里插入图片描述

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐