Is there a way to specify what key to use for Git operations?
Or better yet, is it possible to somehow make Git to use pageant? I tried it, ran pageant and opened a ppk file, but Git does not seem to use it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set
GIT_SSHtoplinkwhich is the command-line part of putty. Then it will usepageantif that is already running. The msysGit installer will not do that for you unless you have already been using putty as mentioned in the ReleaseNotes file. If you set GIT_SSH to the TortoiseSvn version of plink it will even raise dialogs for any questions about accepting new keys which avoids you needing to initialize any new connection manually with putty to handle that yourself.