简体   繁体   English

git ssh_exchange_identification:阅读:软件导致连接中止

[英]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 . 今天,我将一个项目从https://github.com/bhlx3lyx7/incubator-griffin/tree/master插入我的github中。 When I use git clone command like this: git clone git@github.com: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 ? 当我使用像这样的git clone命令时: git clone git@github.com:ahutsunshine / incubator-griffin.git measure-json出现了一个大问题。下图是问题所在,您有解决问题的建议吗? ? 在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

The issue you're facing is nothing to do with git first. 您面临的问题与git首先无关。 Its SSH identification failure. 其SSH识别失败。 First, check your environment. 首先,检查您的环境。

This is local environment issue. 这是本地环境问题。 The error clearly says no such file or directory. 该错误清楚地表明no such file or directory.

Find this file key_load_public . 找到此文件key_load_public The key file is missing, you need to add the key file if its missing. 密钥文件丢失,如果密钥文件丢失,则需要添加。

Thanks you all.Now I have solved this problem.The key to the problem is git url(ssh or https) . 谢谢大家,现在我已经解决了这个问题。问题的关键是git url(ssh或https)

If you use clone with ssh,like git@github.com:apache/incubator-griffin.git,it will be wrong. 如果您将ssh与克隆一起使用,例如git@github.com:apache / incubator-griffin.git,那将是错误的。 在此处输入图片说明

However,if you use clone with https,like https://github.com/apache/incubator-griffin.git,it will clone successfully. 但是,如果将克隆与https一起使用,例如https://github.com/apache/incubator-griffin.git,它将成功克隆。

在此处输入图片说明

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,因为它是最容易在最广泛的网络和平台上进行设置的,并且对于那些刚接触过这种方法的用户来说,设置最为简单。

  1. HTTPS is less likely to be blocked by a firewall. HTTPS不太可能被防火墙阻止。

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

    在此处输入图片说明

  2. An HTTPS connection allows credential.helper to cache your password. HTTPS连接允许credential.helper缓存您的密码。

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

    在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试连接到 git 上的远程存储库时出现“ssh_exchange_identification: read: Connection reset by peer”错误 - "ssh_exchange_identification: read: Connection reset by peer" error when trying to connect to remote repository on git bibucket ssh_exchange_identification:读取:对等方重置连接 - bibucket ssh_exchange_identification: read: Connection reset by peer GitHub 错误 - “ssh_exchange_identification: read: Connection reset by peer” - GitHub error - “ssh_exchange_identification: read: Connection reset by peer” ssh_exchange_identification - ssh_exchange_identification ssh git kex_exchange_identification:读取:对等方重置连接 - ssh git kex_exchange_identification: read: Connection reset by peer Bitbucket ssh测试返回“远程:ssh_exchange_identification:读取:操作超时” - Bitbucket ssh test returns `remote: ssh_exchange_identification: read: Operation timed out` "突然开始使用 git\/bitbucket 收到 ssh_exchange_identification 错误" - Suddenly started to receive ssh_exchange_identification error using git/bitbucket git svn fetch '错误运行上下文:软件导致连接中止...' - git svn fetch 'Error running context: Software caused connection abort at...' 无法使用 git 克隆、推送、拉取 ssh,引发 kex_exchange_identification 错误 - Fail to git clone, push, pull with ssh, raise kex_exchange_identification error 避免 git 中的 kex_exchange_identification 错误 - avoid kex_exchange_identification error in git
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM