How do I use SSH with Sourcetree?
You can use SSH URLs with Sourcetree. Sourcetree relies on the same SSH accounts you create when you are working from the command line. If you haven't already created an SSH key for your Bitbucket Cloud account, see Use the SSH protocol with Bitbucket Cloud.
- Make sure you have already used
ssh-keygento create an identity on your system.
- Start Sourcetree.
- Choose Add repository.
- Supply the SSH source path from Bitbucket.
- Enter a Destination Path.
At this point the dialog looks something like this:
- Press Clone.
If the key is not in your key chain, the system will prompt you for it.
You are ready to start using your repository.