Deploy key and permissions after deleting this key
Created by: jverdeyen
Hi!
First of all: thanks!
Installation of gitlab went fine, upgraded to the latest stable without a problem!
But I don't know if the following issue only was in the latest stable.
I added a host key as deploy key to a project. I pulled the project successful. Now I wanted this key to be a key of my user, so I added the key to the user, problem was that gitlab says that the key already exists.
Ok, fine, I deleted this key from the specific project and added it to the user successful. This should make me able to pull/push.. from this project (as I am the admin).
But now I don't have the permissions to do anything for this key. I looked in the /home/git/.ssh/authorized_keys ... and both keys are there. Non of the deploy keys are deleted.
Any idea how I can fix that? The keys in the database of gitlabhq are updated correctly.
Error I get :
R access for project_name DENIED to deploy_2842e9d7166db5171591e8bfc156b47e (Or there may be no repository at the given path. Did you spell it correctly?) fatal: The remote end hung up unexpectedly
Although the key of this server is added to the SSH keys of the admin user. (First this key was added to the Deploy keys of this project)