Git-Hub使用之Permission denied (publickey)解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Beyond_surprise/article/details/52882698
在自学github使用时,git clone  [email protected]:schacon/simplegit.git 遇到Permission denied (publickey)问题
$git clone [email protected]:schacon/simplegit.git
Cloning into 'simplegit'...
Permission denied (publickey).
fatal: Could not read from remote repository.


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

在stack overflow上面找到了解决办法,可以试一试
  1. Generate a SSH key on your computer as described here : Generating SSH keys.
  2. Login your GitHub account: GitHub Login.
  3. In your account, add the newly generated SSH Key: My account SSH keys.
  4. Try again to git clone the project.

猜你喜欢

转载自blog.csdn.net/Beyond_surprise/article/details/52882698
今日推荐