github Permission denied (publickey). fatal: Could not read from remote repository.


github Permission denied (publickey).
fatal: Could not read from remote repository.

------------------------------------

 

報錯:

Cloning into 'cf-ui'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解決方法:

1.在git.bash.窗口輸入

2.ssh-keygen -t rsa -C "郵箱地址"

3.然后一直回車就行

4.C:\Users\Administrator目錄下生成一個.ssh目錄,

5.Id-rsa是你的私鑰,用筆記本方式打開id_rsa.pub把里面的公鑰復制到https://github.com/settings/keys

完成公鑰配置;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM