14
That's what worked for me:
- The Remotes
$ git remote rm origin $ git remote add origin git@github.com:/.git If your SSH key is already in use on another github rep, you can generate a new one.
- Generating a new SSH key
$ ssh-keygen -t rsa -b 4096 -C "web@github.com" 3. Addition of the key at the SSH agent level
$ eval "$(ssh-agent -s)" $ ssh-add ~/.ssh/id_rsa_github 4. Add the new key to the Github repo.