Permissions error github (ssh key not recognized)

前端 未结 4 2080
-上瘾入骨i
-上瘾入骨i 2021-01-31 05:04

I seem to have lost my permissions to a github account after pushing to it from another (local) repository. I am now receiving the following error:

git push 
Pe         


        
4条回答
  •  无人及你
    2021-01-31 05:34

    Doing an $ ssh-add This worked for me to resolve the following as well for gitlab

    jovimac-2:work joviano$ git clone git@git.xyz.com:bjetfweb.git
    Cloning into 'bjetfweb'...
    Access denied.
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    

提交回复
热议问题