Enable Multiple SSH Key for GitHub on Windows 10

  git, github, ssh, windows

I have 2 GitHub account and I can’t use the same public key for both accounts. I have already generated 2 ssh key

  • ‪C:Users{User_Name}.sshid_rsa
  • ‪C:Users{User_Name}.sshid_rsa_another

My question is, how I can use multiple ssh keys for Windows? On Linux, I just have to add by using ssh-add command, but on Windows, this command does not exist.

What have I done to make the other ssh key work, I have to change the id_rsa to id_rsa_temp and id_rsa_another to id_rsa. I know this is stupid.

Source: Windows Questions

LEAVE A COMMENT