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