/
Troubleshooting GitHub Permissions

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. 

  1. eval $(ssh-agent)

  2. ssh-add ~/.ssh/id_rsa_new

  3. 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 or sudo git <pull/push/etc>

  4. If none of these work contact Mikah

Related content

Deployment
More like this
Repository Cleanup
Repository Cleanup
Read with this
Moving WP from WP Engine to GitHub
Moving WP from WP Engine to GitHub
More like this
User Flow
Read with this
Steps to Complete a Pull
Steps to Complete a Pull
More like this
MCCC Info Sheet Question
MCCC Info Sheet Question
Read with this