I tried ssh -T git@github.com and was successfully authenticated.
this is the error I get when trying to push.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.