今天从github clone代码的时候突然发现down不下来,很奇怪,百度后找到一个解决方法,特此记录。
在.ssh里添加config
config内容如下:
User后面是空格+你的邮箱名,这个邮箱名和.gitconfig中的email相同。
配置后,我们
ssh -T git@github.com
发现出现warn,输入yes:
ok~大功告成
- Connection connect refused github hostconnection connect refused github err_connection_refused connection connect refused failed connection network refused ubuntu connection refused模式mac sockjs err_connection_refused 1685340190468 err_connection_refused connection refused网页 connection connect refused stable connection the localhost refused connection readiness coredns refused