'git ssh_exchange_identification: read: Software caused connection abort
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 ?
Solution 1:[1]
The issue you're facing is nothing to do with git first. Its SSH identification failure. First, check your environment.
This is local environment issue. The error clearly says no such file or directory.
Find this file key_load_public
. The key file is missing, you need to add the key file if its missing.
Solution 2:[2]
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.
However,if you use clone with https,like https://github.com/apache/incubator-griffin.git,it will clone successfully.
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.
HTTPS is less likely to be blocked by a firewall.
https://help.github.com/articles/which-remote-url-should-i-use/
An HTTPS connection allows credential.helper to cache your password.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | danglingpointer |
Solution 2 | flynn |