How to Add SSH Key in Sourcetree
- George Apostolov
How to Add SSH Key in Sourcetree: step-by-step guide
Open your Sourcetree account and navigate to the 'Tools' tab.
From the drop-down menu, select 'Create or Import SSH Keys'.
Select 'SSH' as the type of key that you want to generate.
Click 'Generate'.
That's it! You've successfully added an SSH key in Sourcetree.
Quick answer: To add an SSH key in Sourcetree, navigate to the Tools tab and select Create or Import SSH Keys from the drop-down menu. Next, select SSH as the key type and click Generate.
About this Sourcetree tutorial
Generate an SSH key easily in Sourcetree by accessing the Tools menu, selecting key creation options, and clicking generate. This guide shows how to add SSH Key in Sourcetree in 5 steps, starting with "Open your Sourcetree account and navigate to the 'Tools' tab" and finishing with "That's it! You've successfully added an SSH key in Sourcetree". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to add SSH Key in Sourcetree?
5 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Sourcetree. Related guides: How to Cancel Push in Sourcetree, How to Change Branch in Sourcetree and How to Change User in Sourcetree. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





