如何解決git -- Connection reset by [server_ip] port 22

前提: 已經生成ssh公鑰和私鑰並配置完畢 當git clone, git push, git pull ...不起做用時,出現以下錯誤html

說明git軟件沒法經過ssh鏈接到github,有可能時防火牆或ISP設置的防火牆阻止端口22上的ssh鏈接,能夠用如下命令替換:git

git remote add origin-https xxx(https方式)github

git push -u origin-https masterssh

git pull origin-https mastercdn

參考 www.cnblogs.com/wumz/p/9820…htm

相關文章
相關標籤/搜索