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

Sourcetree authentication error, though terminal is working

Hi - I am using sourcetree to a private git repository through an ssh tunnel. I didn't set any of this up, but need to connect this way.

When I try to pull through sourcetree I get an authentication error - server does not exist


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
Unable to open connection:
Host does not existfatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Completed with errors, see above.


However if I click on the terminal and issue the command "git pull" I get prompted for the key passphrase and am able to connect.

Sourcetree never asks me for the passphrase.

What am I doing wrong?

1 answer

OK it turns out that the tunnel was using openssh, and I was using Putty.

Suggest an answer

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

7,235 views 5 14
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