Troubleshooting - klagan/learning GitHub Wiki

remote: No anonymous write access. fatal: Authentication failed for '[repo address]

  1. Check SSH access is working

  2. Set remote origin

    git remote set-url origin [email protected]:USERNAME/REPO.git

Add SSH password to keychain

# ssh-add -K ~/.ssh/id_rsa
ssh-add --apple-use-keychain ~/.ssh/id_rsa  

Error: The following directories are not writable by your user: /usr/local/share/man/man8

sudo chown -R $(whoami) /usr/local/share/man/man8

ssh-add returns with: Error connecting to agent: No such file or directory

The ssh-agent is not running so we need to set it: ssh-agent pwsh workd for me

⚠️ **GitHub.com Fallback** ⚠️