Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

SSH key authentication password prompting

I have SSH key generated on Windows 10. On our git server, we applied public key for SSH key authentication. Source tree is connected on git server, but on pushing to server is promtping for password.

$ git push origin branch
git@OURGITREPO's password:
fatal: Could not read from remote repository.


How to dissable password, or whats password?

1 answer

0 votes
Mike Corsaro Atlassian Team Jan 31, 2018

Hello! It sounds like the URL for the remote is configured for HTTPS rather than SSH. Could you check the URL of the repo for me?

  • Open the repo
  • Click "Settings"
  • Double-click on the first item in the "Remote repository paths" list
  • Check the URL / Path


If the URL / Path matches the SSH pattern, then could you run the following command for me?

  • Open the repo
  • Click "Terminal"
  • Type: git remote -v
  • Check the output and see what pattern it has



The url is right.

git remote -v

origin  git@[IPADDRESS]:/data/code/hej.git (fetch)
origin  git@[IPADDRESS]:/data/code/hej.git (push)

The url is right, becase with gui functions, it is possible to make all actions (push, fetch .... )

By opened Terminal, it is not possible

Mike Corsaro Atlassian Team Feb 02, 2018

So if I understand correctly, pushing works in Sourcetree but not via command line?

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...

3,387 views 4 5
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