0
On Windows 7, my .hgrc
config file provides a nice an easy way to tell Mercurial about the private SSH key location with the following syntax:
[ui]
username = John Doe <jdoe@example.com>
ssh = plink.exe -i "C:\Users\jdoe\mykeys.ppk"
Does anyone knows what is the equivalent syntax for the .gitconfig
file? All I can find so far is the GIT_SSH
environment variable that does not seem to let me specify the private key location.
Is the key used for all SSH connections, or must it limited to hg/git? – user1686 – 2011-08-11T18:44:22.323
All connections is just fine. – Joannes Vermorel – 2011-08-12T09:18:10.623