请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

IDEA在clone的时候提示Permission denied (publickey).

首先呢,我已经弄好了ssh的密钥,并添加到github账户的公钥下边,ssh -T git@github.com是可以的,返回:
Hi xx! You’ve successfully authenticated, but GitHub does not provide shell access.
但是,当我想要git push的时候,总是失败,提示是:
Permission denied (publickey).
fatal: Could not read from remote repository.

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

正在回答 回答被采纳积分+3

2回答

提问者 慕沐7374140 2019-06-25 23:14:01

https://img1.sycdn.imooc.com//szimg/5d123a0e0001a0cb05600282.jpg

出现You’ve successfully authenticated, but GitHub does not provide shell access.不是说明配置成功了吗?

0 回复 有任何疑惑可以回复我~
  • but GitHub does not provide shell access
    你看看后半句,给你找了个博客,你按照这个试试:https://www.cnblogs.com/smilejinge/p/3589479.html
    回复 有任何疑惑可以回复我~ 2019-06-27 00:36:53
geelylucky 2019-06-25 23:09:50

Permission denied (publickey).
fatal: Could not read from remote repository.

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

同学,它的意思是说你没有权限哦,说明你没配置成功。

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信