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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can SourceTree use ssh keys in a non-standard location

Edited

Hi,

My work Win10 machine has a "mapped" Home drive, call it "H:".  Due to some recent issues I had to delete my local "profile".  Before I did the delete I copied the ".ssh" dir and other things off to the H drive for safe keeping.  I now wonder if I can configure Sourcetree to look in that non-standard location for the ssh keys?

2 answers

This isn't an answer but I had to do something... I moved the .ssh dir back from the mapped H drive mentioned above to my local "profile".  I had to reestablish the remote info via:

git remote rename origin old-origin
git remote add origin git@gitlab.myCo.com:me/myProject.git
git push -u origin --all
git push -u origin --tags

0 votes
Ana Retamal Atlassian Team Nov 02, 2018

Hi! Have you already tried the option 'Load an existing private key file' as shown in our documentation? Are you able to select your SSH key location?

Let us know!
Ana

Thanks, I have active ssh keys, this page seems to only tell me how to generate new ones. 

My keys are not sitting is the "default" location that putty creates (C:\Users\me\.ssh).  Instead, they are on a mapped drive (H:\.ssh).  My guess is that Sourcetree only know to look in the .ssh directory in the user's home directory.

I have tried going to Tools -> Options and setting the "SSH Client Configuration" section but that has not worked.

I may have to move the .ssh dir back to the "normal" location

**Edit**

I have tried creating a windows "junction" to link to the mapped drive location.  That is not working.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published 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...

5,692 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you