使用sourcetree clone github 私有项目时出错,问题汇总。
最近使用sourcetree时,想克隆自己的 私有项目,发现会提示自己输入github的用户名,密码,输入完毕提示:“这是一个无效源路径”,正常情况复制的https git地址会显示,这是一个git仓库,一开始以为是自己的ssh没有配置到github,遂重新生成了ssh,并添加最新的秘钥到github上 参考:https://www.cnblogs.com/superGG1990/p/6844952.html
ssh秘钥重新生成后,用git bash检测是否可以ping 到 github
$ ssh -T git@github.com
错误提示:
kex_exchange_identification: read: Connection reset by peer
相同方法用mac提示:
Hi xxx! You've successfully authenticated, but GitHub does not # provide shell access.
clone代码也提示 :
kex_exchange_identification: read: Connection reset by peer