Allow usage of custom names for ssh key

Andrew Repulo
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!
April 17, 2020

Hello colleagues!

Recently my team moved to GitLab and i have stumbled upon a blocker that prevents me from using SourceTree al all.

When trying to add GitLab account with SSH access to repository, sourcetree only supposes that name of an ssh RSA keypair will be id_rsa.pub / id_rsa. The problem is, id_rsa is already taken by another keypair on my computer that is used to connect to hundreds of systems. I have dedicated keypair for git access with different name, say git_rsa/git_rsa.pub and looks like SourceTree cannot allow me to use any custom name for a keypair.

To make it clear:

- i am NOT going to default id_rsa to gitlab for security reasons

- i am NOT going to make any symlinks, it's inconvenient

What i need is to be able to force SourceTree to use a keypair with name _different_ from id_rsa 

Is there any kind of solution for that?

1 answer

1 vote
Cristian Caprar
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!
April 20, 2020

Same issue here, we want to use different ssh keys for different git accounts in Sourcetree, without the need to delete existing keys configured in github, but select them in Sourcetree.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events