您的位置:首页 > 编程语言

遇到从github git clone不下来,报Permission denied (publickey). fatal: Could not read from remote repository.

2017-12-06 15:12 567 查看
错误

vigevige@ubuntu:~/make-cool-play&build-cool-play$ git git@github.com:nginx/nginx.git

git: 'git@github.com:nginx/nginx.git' is not a git command. See 'git --help'.

vigevige@ubuntu:~/make-cool-play&build-cool-play$ git clone git@github.com:nginx/nginx.git

Cloning into 'nginx'...

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

vigevige@ubuntu:~/make-cool-play&build-cool-play$ git clone git@github.com:arut/nginx-rtmp-module.git

Cloning into 'nginx-rtmp-module'...

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

解决办法
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐