title: Trying to add ssh key to ssh agent
body: <p>I want to generate new recovery codes for my GitLab 2FA account.
  I am running this command on windows PowerShell :
  ssh git@gitlab.com 2fa_recovery_codes
  It says permission denied(public key)</p>
  <p>SO now I am trying to add my private key(corresponding to the public key) to ssh agent.</p>
  <p>this command:  Get-Service ssh-agent</p>
  <p><img src="https://i.stack.imgur.com/KhvXO.png" alt="enter image description here" />
  however, ssh-add C:/Users/&lt;User_name&gt;/.ssh/id_rsa     keeps saying invalid directory(it is stored here.)</p>
  <p>Can anyone tell me what to do? I am not sure if the read or write permissions of key are set. Not sure how to change them.</p>