Here is a quick cheat sheet on how to add a proper ssh key for Sourcetree / Bitbucket from a Windows system with the PuTTY Key Generator.
The process is not complicated by any means, but getting things mixed up simply results in Bitbucket or Sourcetree rejecting the key, making tracking down the problem more difficult than it should be.
- Press Generate to create the key.
- Press Save private key to save the private key to disk.
- Copy the public key from the text area box above into the clipboard.
- Paste the public key into the Bitbucket > Settings > SSH Keys section on the website.