None of the previous answers worked for me. You need to do that for every repository you are using TortoiseGit with. When using TortoiseGit, you need to set the SSH key via pacey's directions. You may need to copy the OpenSSH key to Program Files\Git\.ssh\id_rsa (or Program Files (x86)\Git\.ssh\id_rsa). Note: Comments indicate that this doesn't work in all cases.
After you have the key at that location, Git Bash will recognize the key and use it. Once your key is open, you want to select Conversions -> Export OpenSSH key and save it to HOME\.ssh\id_rsa. ssh folder under that, you want to open PuTTYgen and open the key (.ppk file) you have previously created. ssh.Īfter you have the home directory, and a. While you're in Git Bash, you should mkdir. If you are running msysgit (I am assuming you are) and are looking to run Git Bash (I recommend it over TortoiseGit, but I lean to the CLI more than GUI now), you need to figure out what your home directory is for Git Bash by starting it then type pwd (On Windows 7, it will be something like C:\Users\phsr I think).