Generate and Load SSH Keys into SourceTree with PuTTY

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

Description

The goal of this article is to guide users to generate and load SSH keys into SourceTree using PuTTY.

ProductSourceTree
Last modified on Oct 16, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.