I installed git for windows, and when the option of choosing Putty or OpenSSH was presented, I chose OpenSSH. However, I have putty installed, and it seems that git has caught this and is trying to use it. (I have GIT_TRACE = 2 in environment variables)
E:\blah>git push
trace: built-in: git 'push'
trace: run_command: 'ssh' 'git@bitbucket.org' 'git-receive-pack '...
Enter passphrase for key 'C:\putty\my.ppk':
Which is really strange, since ppk doesn't even have a passphrase. Although the real problem is that he should not use a trowel key, he should use ~ / .id_rsa
This worked right after installation, but after restarting the computer, he started to do it.
Is there a way to tell git to use openssh without reinstalling it?
source
share