SSH key stopped working, cannot push to repository
Created by: kgodwin
SSH Key stops working to push to the repository suddenly [after using it for weeks, same ssh key I use to log into the box and it still works fine]. Adding a new ssh key works.
Seems similar to https://github.com/gitlabhq/gitlabhq/issues/4730
Also:
ssh -T [email protected]
Welcome to GitLab, Anonymous!
gitlab-shell log:
I, [2014-05-18T04:41:40.503246 #30966] INFO -- : gitlab-shell: executing git command $git-upload-pack /var/opt/gitlab/git-data/repositories/$username/$project.git for user with key key-2.
I, [2014-05-19T01:44:55.453478 #3016] INFO -- : Adding project $username/$different-project.wiki.git at $/var/opt/gitlab/git-data/repositories/$username/$different-project.wiki.git.
I, [2014-05-19T01:44:55.475225 #3014] INFO -- : Adding project $username/$different-project.git at $/var/opt/gitlab/git-data/repositories/$username/$different-project.git.
W, [2014-05-19T01:45:09.013847 #3054] WARN -- : gitlab-shell: Access denied for git command $git-receive-pack '$username/$project.git' by user with key key-2.
From the other logs, I don't see anything suggesting any kind of strangeness so I really have no clue what to provide :/