I'm running PuTTY Pageant on Windows, and I used it to generate a private SSH key with a .ppk extension.
Now I want to change the password to that key, so I opened my Git bash terminal, cd'd to my .ssh directory, and typed:
ssh-keygen -f private.ppk -p
It then asks me to enter my old passphrase, but after entering it, it says "Bad passphrase." I'm absolutely certain I'm entering the passphrase correctly.
Does Pageant do some weird encryption with the SSH keys it generates so I can't update the password? The password works fine when unlocking the key within Pageant, and the key itself works fine, too.