If you have created SSH keys to use on GitHub, Git continues to ask you for your ssh passphrase every time I try to do a pull or a push.
So one way to stop Git from asking for your SSH Key passphrase is to add your private SSH Key as follows:
First start the SSH agent with:
eval $(ssh-agent)
Then add your private key to it:
ssh-add
To save your key permanently:
ssh-add -K
This will save your key by storing it in the keychain.
Last Updated on March 21, 2021 by Code Guru