I've installed git-for-windows and generated a ssh key with PuTTYgen (with passphrase) and stored it in c:/users/username/.ssh/id_rsa.
If I try to log in with putty and enter my passphrase and it works just fine.
But if i try to use ssh or git clone in the windows shell it doesn't accept my passphrase after Enter passphrase for key '/c/Users/*username*/.ssh/id_rsa' but just keeps asking for it.
Why doesn't it work with ssh or git?


openssh and PuTTY are using different key types (but you can convert between them). In PuTTYgen you need to go to Conversions->Export OpenSSH, export your private key and store it as id_rsa.

More on SO.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.