問題:diffie-hellman-group1-sha1

在git clone 項目的時候, 居然報錯了:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1git

那麼,想要解決此問題, 則須要在用戶目錄下的 .ssh文件夾下新建一個 config 文件,添加:ssh

  Host * spa

  KexAlgorithms +diffie-hellman-group1-sha13d

  

而後,再從新執行 git clone :blog

       

至此, git clone 成功, 問題解決!it

相關文章
相關標籤/搜索