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
完成公钥配置;