title: Can't stop being prompted for ssh key password when pushing to or pulling from github
body: <p>Before somebody says this is duplicate (ok it may be but...) I checked <a href="https://stackoverflow.com/questions/10032461/git-keeps-asking-me-for-my-ssh-key-passphrase">this</a>, <a href="https://stackoverflow.com/questions/21095054/ssh-key-still-asking-for-password-and-passphrase">this</a>, <a href="https://stackoverflow.com/questions/31377629/git-always-ask-passphrase-for-key">this</a>, <a href="https://stackoverflow.com/questions/30495445/git-suddenly-started-to-ask-for-ssh-key-password-every-time">this</a>, <a href="https://superuser.com/questions/988185/how-to-avoid-being-asked-enter-passphrase-for-key-when-im-doing-ssh-operatio">this</a> and many other links but it seems no one provided the answer I'm looking for.</p>
  <p>My machine is an Arch Linux, and I'm using standard updated openssh suite and git 2.29.2.
  I have my SSH key (~/.ssh/id_ed25519) created and protected by a password, the public part is in GitHub. Locally my remote is configured to use ssh:</p>
  <pre><code>$ git remote -v
  origin  git@github.com:my-account/git.git (fetch)
  origin  git@github.com:my-account/git.git (push)
  </code></pre>
  <p><code>git pull</code> and <code>git push</code> works fine, as long as I enter the ssh key password. I decided to follow Arch Wiki's ssh-agent <a href="https://wiki.archlinux.org/index.php/SSH_keys#SSH_agents" rel="nofollow noreferrer">article</a>. I started the agent:</p>
  <pre><code>$ eval $(ssh-agent)
  Agent pid 33150
  </code></pre>
  <p>I added the key:</p>
  <pre><code>$ ssh-add ~/.ssh/id_ed25519
  Enter passphrase for /home/user/.ssh/id_ed25519: 
  Identity added: /home/user/.ssh/id_ed25519 (user@machine)
  </code></pre>
  <p>I confirmed the key was added:</p>
  <pre><code>$ ssh-add -l
  256 SHA256:MlO552tuyNhfE2x1CeVdzT4QpeaavT229V2UcHDgIX8 user@machine (ED25519)
  </code></pre>
  <p>I also added <code>AddKeysToAgent yes</code> to <code>~/.ssh/config</code> as indicated in the Arch Wiki (I also tried to put <code>Host *</code> in a line above, to no avail):</p>
  <pre><code>$ cat ~/.ssh/config
  AddKeysToAgent yes
  </code></pre>
  <p>But every time I try to push or pull I get prompted to enter the password. Once I enter it, it works:</p>
  <pre><code>$ git push
  Enter passphrase for key '/home/user/.ssh/id_ed25519': 
  Everything up-to-date
  $ git push
  Enter passphrase for key '/home/user/.ssh/id_ed25519': 
  Everything up-to-date
  </code></pre>
  <p>Any idea of what may be going on?</p>
  <p>EDIT:</p>
  <p>I just tested something:
  I copied my pub key to another server, and I can connect to that server just fine, without being prompted for the key passphrase. That hints me that the issue is with git/github, not ssh. Any ideas?</p>