I\'m working on a project in a private repository on https://www.bitbucket.com.
I\'m coding it locally, then staging, commiting and pushing the update via BitBucket\'s /
I know this is resolved, but to add to the accepted answer, you don't actually need Git Bash in order for this to work. As Cupcake said, it is true that PuTTY puts out .ppk
files for private keys, which won't work outside the usual PuTTY/Pageant context.
This is because the terminal expects by default to find a file named id_rsa
in ~/.ssh
and PuTTY doesn't generate that by default. Git Bash's ssh-keygen
does though, which is why Tom Granot's solution works.
You CAN, though, through the PuTTY key generator, export the same exact file through the Conversions/Export OpenSSH Key...
option in the menu. Just be sure to name it id_rsa
and have it sit next to your id_rsa.pub
file, and everything should work fine.