Github Authentication Failed – … GitHub does not provide shell access
$ git remote add origin firstname.lastname@example.org:lut/EvolutionApp.git fatal: remote origin already exists. $ git push -u origin master fatal: 'EvolutionApp' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
My keys were added succesfully
$ ssh -T email@example.com Hi lut! You've successfully authenticated, but GitHub does not provide shell access.
The Github article https://help.github.com/articles/generating-ssh-keys/ says that “Shell access” should not be an issue? What could the problem be?
3 Solutions collect form web for “Github Authentication Failed – … GitHub does not provide shell access”
Try and redefine the ssh url for remote origin:
git remote set-url origin firstname.lastname@example.org:lut/EvolutionApp.git
And try again
You might have to add the remote again. That error message happens when Git doesn’t know where to push to.
git remote -v check if the remote exists, if not, add it.
Even then if it doesn’t work try removing the
GIT_SSH environment variable, this maybe causing the problem.
This can happen if you have an incomplete remote entry in your global config.
git config -e --system, comment out any
[remote entries, re-add the remote, and try again.