提示权限被拒绝

之前都是在GitHub上操作,这次用gitee的时候出现了这个错误指令
官方解决文档:
http://git.mydoc.io/?t=154712

解决步骤

1、重新生成ssh
ssh-****** -t rsa -C “[email protected]
2、查看你的 public key
cat ~/.ssh/id_rsa.pub
(以ssh-rsa 开头,以账号的注册邮箱结尾的)
3、将它添加到码云,添加地址 https://gitee.com/profile/sshkeys
个人设置-ssh公钥

解决bug:[email protected]: Permission denied (publickey)
4、终端输入
ssh -T [email protected]

5.结束over

相关文章:

  • 2022-01-07
  • 2021-04-10
  • 2021-10-07
  • 2021-05-27
  • 2021-12-08
  • 2021-11-25
  • 2022-01-17
猜你喜欢
  • 2021-04-02
  • 2021-10-22
  • 2021-05-10
  • 2021-08-13
  • 2021-11-05
  • 2021-05-18
相关资源
相似解决方案