The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH key authentication password prompting

MarcelGeo
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!
January 31, 2018

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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

 

Thanks!

MarcelGeo
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!
February 2, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2018

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

TAGS
AUG Leaders

Atlassian Community Events