GitHub: Agent admitted failure to sign using the key.

Upon testing my GitHub setup on my home computer I got the following error after inputting this:

ssh git@github.com

Returned:

Agent admitted failure to sign using the key. Permission denied (publickey).

You’ll need to run:

ssh-add ~/.ssh/id_rsa

Make sure to enter the passphrase for the ssh key you generated.