When I used git extensions on windows to pull a repo, a error info: "fatal: protocol error: bad line length character: git@" was return.
Meanwhile I can use git command line "git pull origin" to pull the repo. It seems there was something wrong with git extensions configuration, anyone can help me correct this error?
Set your Git Extensions ssh client to be "OpenSSH" instead of "PuTTy".
You can configure it under: Tools -> Settings -> Git Extensions -> SSH -> "Specify which SSH client to use":
The other possible solution is if you use Putty Pageant, and you have your keys stored in Pageant to handle the authentication, check that Pageant is running. If you have restarted your machine Pageant might not be running and the authentication will fail with this error. If you restart your Pageant and make sure that your Keys are added this will fix your error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With