[英]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.