I want to replace ssh key on source tree, But I do not see tools options in mac book

vijaybmakrubiya
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!
October 12, 2022

please help me how can I replace ssh key in source tree. 

I can not see tools option any where in my app in mac book 

also I can not have any options to remove old key 
when there was not key at that time I did not see option to add key but only see option to create key in source tree where pop up box for under account option. 

I have private and pub key in my mac already and I want to use that key in source tree as keys are already linked to Git. 

please help me to remove key from source tree and also help me to add which I have in  my mac. 

 

Thanks 

 

1 answer

0 votes
Todd Lucas
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 13, 2023

Not sure if you're still looking for an answer to this or not ...

Windows 7 64-bit, SourceTree V 3.4.11

I modified the "LastSSHKeyPath" setting value in the following file:

C:\Users\YOURUSERID\AppData\Local\Atlassian\SourceTree.exe_Url_vfgapqzknjyobvhwji4wqlbfzwn5d4xz\3.4.11.0\user.config

Just remove the SSH key paths from that value.

Example Old Value:

<setting name="LastSSHKeyPath" serializeAs="String">
<value>C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\thlucasi7_id_ed25519;C:\Users\Todd\.ssh\thlucasi7_id_ed25519.pub;C:\Users\Todd\.ssh\thlucasi7_id_ed25519.ppk;C:\Users\Todd\.ssh\id_ed25519.pub;C:\Users\Todd\.ssh\id_ed25519;C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\id_ed25519;C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\thlucasi7_id_ed25519</value>
</setting>

Example New Value:

<setting name="LastSSHKeyPath" serializeAs="String">
<value>C:\Users\Todd\.ssh\thlucasi7_id_ed25519;</value>
</setting>

Hope it helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events