Внезапно начал получать ошибку ssh_exchange_identification с помощью git / bitbucket - PullRequest
0 голосов
/ 27 февраля 2020

В системе ничего не изменилось. Я работаю как обычно. И обычно проблем с pull / pu sh не было. У меня есть доступ к bitbucket, если я захожу в него через браузер.

А теперь, когда я пытаюсь сделать pu sh или извлечь из хранилища 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

Ниже это команда с подробным выводом, но я не могу понять, в чем проблема.

Команда, используемая для подробного вывода: $ GIT_SSH_COMMAND="ssh -vvv" git pull

Вывод:

OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/volk/.ssh/config
debug1: /Users/volk/.ssh/config line 48: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolving "bitbucket.org" port 22
debug2: ssh_connect_direct
debug1: Connecting to bitbucket.org [18.205.93.2] port 22.
debug1: Connection established.
debug1: identity file /Users/volk/.ssh/id_rsa type 0
debug1: identity file /Users/volk/.ssh/id_rsa-cert type -1
debug1: identity file /Users/volk/.ssh/id_dsa type -1
debug1: identity file /Users/volk/.ssh/id_dsa-cert type -1
debug1: identity file /Users/volk/.ssh/id_ecdsa type -1
debug1: identity file /Users/volk/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/volk/.ssh/id_ed25519 type -1
debug1: identity file /Users/volk/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/volk/.ssh/id_xmss type -1
debug1: identity file /Users/volk/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
...