• 0

    posted a message on Access denied to git repository but successful to server?
    Managed to solve my problem through further research. Turns out git wasn't using my key at all. I followed these instructions and my problem was resolved.
    Posted in: Need Help?
  • 0

    posted a message on Access denied to git repository but successful to server?
    I am on Windows 8.1 Pro using PuTTY, and my repository is using git.

    I just set up my project (Checklist), followed the instructions to generate SSH keys, and I connected successfully using git to both WowAce and CurseForge (even though I'm only using CurseForge). The servers returned the message that authentication was successful but no git command was returned. I then went to my addon directory and set the remote repository using

    git remote add origin git@git.curseforge.net:wow/checklist/mainline.git


    I then committed my files and attempted to push using "git push origin master", but I receive the following message:

    Permission denied (publickey).
    fatal: Could not read from remote repository.

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


    I checked .git/config, and it contains the following:

    [remote "origin"]
    	url = git@git.curseforge.net:wow/checklist/mainline.git


    Pageant IS running. I can verify correctly in PuTTY and then immediately try pushing but I get the same authentication error from git. My public key is pasted properly, one line, on the page in my profile.

    Why can't I push to my repository?
    Posted in: Need Help?
  • To post a comment, please or register a new account.