Answer the question
In order to leave comments, you need to log in
Why can't git see the key?
With git-push (and other commands where authorization is needed), everything except the console from git itself writes the wrong ssh key. The key is in user_dir/.ssh/id_rsa.pub, I tried many ways, but could not solve the problem. At the same time, the connection via "Git Bash" works.
Windows 7 OS
Answer the question
In order to leave comments, you need to log in
1. I don't know if this will solve your particular problem, but you should be worried about the private key, not the public key. The public key must be somewhere on the server side, as your identifier.
2. Look in the environment variables, and the git configs, maybe another key is specified there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question