Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

[SOLVED] How to connect to an existing ssh key on Github with SourceTree? (Mac OSX)

Matt Brand
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2019

I have my key configured through command line and on github so that I can clone, fetch, push and pull repos.

In SourceTree, when I try to add my account, when I first get to the screen it properly shows my id_rsa.pub, but when I click Connect Account, and authorize through Github, then it changes the key to myname-GitHub.pub, and then adds that key to github ssh keys when I click OK.

How do I add an account to SourceTree that uses my default id_rsa.pub that I have already generated?

 

[SOLVED] I had to re-open the repos with ST info cleared from ~/Library/Application Support/SourceTree, and use the password that I created when i generated id_rsa.pub.

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2019

Hi Matthew,

Happy you figured it out, and thanks for sharing your findings with the rest of users :D

Have a nice weekend!
Ana

Matt Brand
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2019

Thanks, you too!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events