GitLab 6.3 CE Droplet - SSH Push fails

  • Posted December 3, 2013

Pushing to a fresh install of gitlab with the application image from DigitalOcean fails with Access denied. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

I used the DigitalOcean guide to setup the installation:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I had this issue, it turned out that the git repository wasn’t being cerated at all in /var/opt/gitlab/git-data/repositories restarting the server fixed it for me, not sure why.

shutdown -r now

git push -u origin master <br> <br>I also tried Git-Tower (Git-Client for Mac) => same issue

I’ve just tried pushing to a gitlab repo and it worked (fresh GitLab droplet). What command are you trying to run?

yes, I did. <br>I tried my existing key and created a new key. No luck.

Did you add your public ssh key to your user using GitLab?