Good day,
I have this extremely weird problem, Someone added me as a member of his organization in github, and asked me for a rsa key, I am a member of that organization now, but now all my other projects point to that Organization's Repo when doing a Push, ie:
for_linode $ git push origin master
ERROR: Permission to jlstr/for_linode.git denied to other_org/core.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
When I print my remote origin config it displays what appears to be the correct information:
for_linode $ git remote show origin
* remote origin
Fetch URL: git@github.com:jlstr/for_linode.git
Push URL: git@github.com:jlstr/for_linode.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (fast-forwardable)
Why is it trying to push to the other_org/core Repo? I've never seen something as weird as this, I really wish someone can help me out with this strange Issue.. :(
Thanks in advance,
Jose.
EDIT:
for_linode $ git remote -v
origin git@github.com:jlstr/for_linode.git (fetch)
origin git@github.com:jlstr/for_linode.git (push)
EDIT:
for_linode $ ssh -T git@github.com
Hi new_org/core! You've successfully authenticated, but GitHub does not provide shell access.