Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git ssh_exchange_identification: read: Software caused connection abort

Tags:

git

github

Today I fork a project into my github from https://github.com/bhlx3lyx7/incubator-griffin/tree/master. When I use git clone command like this: git clone [email protected]:ahutsunshine/incubator-griffin.git measure-json.A big problem has come up.The following photo is the problem.Do you have some advice to solve it ? enter image description here

enter image description here

enter image description here

like image 906
flynn Avatar asked Sep 16 '25 21:09

flynn


1 Answers

Thanks you all.Now I have solved this problem.The key to the problem is git url(ssh or https).

If you use clone with ssh,like [email protected]:apache/incubator-griffin.git,it will be wrong. enter image description here

However,if you use clone with https,like https://github.com/apache/incubator-griffin.git,it will clone successfully.

enter image description here

After reviewing related document,I find they currently recommend HTTPS because it is the easiest to set up on the widest range of networks and platforms, and by users who are new to all this.

  1. HTTPS is less likely to be blocked by a firewall.

    https://help.github.com/articles/which-remote-url-should-i-use/

    enter image description here

  2. An HTTPS connection allows credential.helper to cache your password.

    https://help.github.com/articles/set-up-git

    enter image description here

like image 182
flynn Avatar answered Sep 19 '25 13:09

flynn