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.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
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.