Troubleshooting GitHub Permissions
I will occasionally get issues saying that the repository doesn’t exist or that I don’t have permission to push or pull. Below are the steps needed to ensure you are able to use Git on the server. This will create a new ssh agent and add the key associated with root.
eval $(ssh-agent)
ssh-add ~/.ssh/id_rsa_new
If you are using ssh as a non root user you will not be able to push or pull so either do
sudo -i
to login as root for the shell session orsudo git <pull/push/etc>
If none of these work contact Mikah