Puttygen public key
This worked for me. The (SSH-2 RSA, 2048 bit) puttygen public key file looks like this...- BEGIN SSH2 PUBLIC KEY -
Comment: "rsa-key-"
AAAAB3NzaC1yc2EAAAABJQAAAQEAu+qEadidPTkxW5dydJj0466fbSCzBnN+J1Lq
......
6HPxeGQHm3xl7hx1ADiEFAwTrPKHy3hWR4nvyl7DUZaHNwUkGQ==
- END SSH2 PUBLIC KEY -Prepend 'ssh-rsa ' (that's a space after the 'a') to the second line and copy these lines to Bitbucketssh-rsa AAAB3NzaC1yc2EAAAABJQAAAQEAu+qEadidPTkxW5dydJj0466fbSCzBnN+J1Lq
......
6HPxeGQHm3xl7hx1ADiEFAwTrPKHy3hWR4nvyl7DUZaHNwUkGQ==You can also move the comment to the end (after the '==')When saving a puttygen public file the output has Unix line endings on Windows.