Configuring SSH - SourceTree Windows

Hello, I've been reading several threads on this topic. Once the keys (ssh) are generated, does the only way to use them is opening PageAgent and manually inserting the passphrase each time it starts? I've seen that in Tools -> Options -> General, there is a section that says: SSH Client Configuration, and even gives you the option to select your private key. Does this replace the PageAgent? Or what it is that option? By selecting the ppk, don't ask for the passphrase. Thank you very much and best regards.

1 answer

You only have to start Pageant once (per Windows login) to make it available for all apps including SourceTree - what I tend to do is add Pageant to my Startup folder in Windows and give it a parameter of the .ppk key, that way when I log in I have to type the passphrase and then it's available for all apps.

However alternatively if you set the key in Tools > Options > SSH Client inside SourceTree and check the box 'Automatically Start SSH Agent' then if Pageant isn't already running when SourceTree starts, it will start it for you and load this key. You will still need to type the passphrase, this is a security measure which is safeguarding your key from other people should they somehow get hold of it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,237 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you