github Please make sure you have the correct access rights

问题

lc@m:~/ww$ git clone [email protected]:lc168/llvm-project.git
正克隆到 'llvm-project'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

解决问题:

ssh-keygen -t rsa -C [email protected]
lc@m:~/ww$ cat ~/.ssh/id_rsa.pub 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9fePnHiw4+iD7nuy+MPtceqAsZtIarEwsoDVl5nYnj0Ee4AnGVTj6dPZkDu/gSC6z4BsaQY7GkirqIp3nSoz8IZg2VUh8EF1lTivEKRXa5YHTbU6aeJDS1m/y6dfsIsQvbGD4qYMb9iUrwv2JRpN3tWztFK6Uilbj9upZUxhvvcucGBeBd1pR1tgKXGfmjlrG6SkFcTZs+5f9Ia3U5mkaGF+j++CECJW9TcJTVDkftBKsbTLXmIMqGi/cF2VmwCQEXzucpFoVDLjGo+k2lzx7EePSkpfdVcgDVqEPabJh8clHFf7A8zxEFkTQr1dU+91j0yw+DhkDjKNDpSS09ooT [email protected]
lc@m:~/ww$ 

github Please make sure you have the correct access rights_第1张图片

你可能感兴趣的:(环境配置)