Permission denied (publickey).

来源:互联网 发布:消毒餐具配送软件 编辑:程序博客网 时间:2024/06/06 01:04

git clone git@github.com:googlesamples/android-architecture.git
从github克隆仓库时出错:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
是由于github账号没有设置ssh公钥信息所致。
参考:
https://help.github.com/articles/connecting-to-github-with-ssh/
https://www.zhihu.com/question/21402411

0 0