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

How to force ST to use username from ssh config

Hi,

since my PC username is different from my GIT username I have added this section into c:\users\myuser\.ssh\config

 

Host git
  HostName xxx.xxx.xx
  Port 22
  User mygituser

This works just fine with command line where I can simply "ssh xxx.xxx.xx", my key is used and I am logged in.

But in ST UI whenever I try to fetch/pull a dialog asking for username/password pops up.

I did started the Pageant and added the key but this seems more like ST does not use the ssh config.

Running on Windows 7 and SourceTree 1.6.17.0...

 

Thanks for any pointers,

Zbynek

 

PS : I know I can place the desired user directly into URL (myuser@xxx.xxx.xx/path/to/repo) but since I have quite a lot of them I would like to avoid this.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,152 views 0 11
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