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

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

完成公钥配置;

相关文章:

  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-10
  • 2021-05-10
  • 2021-08-09
  • 2021-10-15
猜你喜欢
  • 2021-07-10
  • 2021-04-01
  • 2021-10-05
  • 2021-09-23
相关资源
相似解决方案