Github authentication error -... GitHub does not provide shell access

$ git remote add origin git@github.com :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 have been added successfully

  $ ssh -T git@github.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” shouldn't be a problem? What is the problem?

+11
git github ssh-keys
source share
4 answers

Try and redefine the ssh URL for the remote source:

 git remote set-url origin git@github.com :lut/EvolutionApp.git 

And try again

+20
source share

You may need to add the remote again. This error message occurs when Git does not know where to click.

Use git remote -v check if remote access exists, if not add it.

Even then if it does not work, try deleting the GIT_SSH environment GIT_SSH , this may cause a problem.

+1
source share

This can happen if you have an incomplete remote entry in your global configuration.

Run git config -e --system , comment out any entries [remote , re-add the remote and try again.

0
source share

you have already added ssh-keygen, but use https to connect

0
source share

All Articles