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?
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?
If the URL / Path matches the SSH pattern, then could you run the following command for me?
Thanks!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So if I understand correctly, pushing works in Sourcetree but not via command line?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.