赞
踩
(base) ➜ test git:(dev) git pull
kex_exchange_identification: Connection closed by remote host
Connection closed by 192.30.255.113 port 22
致命错误:无法读取远程仓库。
参照下边文档
https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port
(base) ➜ .ssh vi ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
User git
$ ssh -T git@github.com
> Hi USERNAME! You've successfully authenticated, but GitHub does not
> provide shell access.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。