IDEA在clone的時候提示Permission denied (publickey). fatal: Could not read from remote repository.

原因是因爲SSH密匙權限的問題. 解決方法是:打開git  在其中輸入ssh-****** -t rsa -C "郵箱地址" 一直回車. 在C:\Users\Administrator目錄下生成一個.ssh目錄, 其中id_rsa是Id-rsa是你的私鑰 將id_rsa.pub中用筆記本打開 將這段文字複製到你的碼雲或者github賬戶的公鑰下邊.我用的是碼雲,如下圖. 然後在IDEA中 輸入gi
相關文章
相關標籤/搜索