A silly 403 during github push

June 22, 2024
Tags: » github

Today when I tried to push a local repo to a new remote repo on github, I encountered a 403 error where I could not push my local branch to remote. After taking a closer look, I noticed the whole time I was trying to push via HTTPS instead of SSH, while my local machine is set up via SSH keys.

Screenshots for the culprit action: HTTPS option HTTPS option code

Screenshots for the action I should have taken: SSH option SSH option code

Choose SSH!

♥ Hi there, do you know you can also leave a comment as a guest?
When you click the Name text box, more content will show up. Check I'd rather post as a guest at the bottom of the text boxes, then you're good to go!