Getting permission denied (public key) on gitlab

前端 未结 30 2588
太阳男子
太阳男子 2020-12-02 04:27

My problem is that I can\'t push or fetch from GitLab. However, I can clone (via HTTP or via SSH). I get this error when I try to push :

Permission de

30条回答
  •  广开言路
    2020-12-02 04:56

    Go to the terminal and regenerate the ssh key again. Type ssh-keygen. It will ask you where you want to save it, type the path.

    Then copy the public key to gitlabs platform. It usually starts with ssh-rsa.

提交回复
热议问题