[英]Suddenly started to receive ssh_exchange_identification error using git/bitbucket
系统没有任何改变。 我像往常一样工作。 通常拉\/推没有任何问题。 如果我通过浏览器访问它,我可以访问 bitbucket。
现在,当我尝试从 bitbucket 存储库中推送或拉取时,出现错误:
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
我也突然遇到了类似的问题。 我尝试了ssh_exchange_identification 中给出的几个建议:连接被远程主机在 Git bash 下关闭,但以下建议对我有用。
~/.ssh
)今天遇到同样的问题。
通过在 ssh config(vim ~\/.ssh\/config) 中添加以下行修复了该问题
Host bitbucket.org
AddKeysToAgent yes
HostName altssh.bitbucket.org
IdentityFile ~/.ssh/id_rsa
UseKeychain yes
Port 443
这可能是 Bitbucket 的问题。
检查 Bitbucket 状态https:\/\/bitbucket.status.atlassian.com\/history<\/a>
这就是我和原始海报所发生的事情,但直到看到这里对问题的评论,我才想到要检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.