Generate and Load SSH Keys into SourceTree with PuTTY
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Purpose
The goal of this article is to guide users to generate and load SSH keys into SourceTree using PuTTY.
Solution
Steps:
1. To generate an SSH Key, select Tools > Create or Import SSH Keys. This window should pop up:
2. Click Generate, and move the mouse randomly until a key is generated:
3. A public key and a private key should appear. Save them both by clicking Save public key (save as .pub filetype), and Save private key (save as .ppk filetype):
4. This is how the .pub and the .ppk files should appear in your .ssh folder, along side with some other files:
SourceTree might prompt you to load the private key. Simply load the .ppk file.
5. Add your public key in your remote server (eg. Bitbucket).
Now, you should finally be able to use SSH as a method for git operations between local and remote.