在git clone 項目的時候, 竟然報錯了:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
那么,想要解決此問題, 則需要在用戶目錄下的 .ssh文件夾下新建一個 config 文件,添加:
Host *
KexAlgorithms +diffie-hellman-group1-sha1
然后,再重新執行 git clone :
至此, git clone 成功, 問題解決!