Hello.
I created a repository in bitbucket cloud and added my ssh key to my user profile.
I am able to successfully clone the repository and pull down new changes. But whenever I push, I am met with the following error:
"fatal: protocol error: bad line length character: auth"
I am using Git Bash for Windows. git --version returns "git version 2.35.1.windows.2"
So far I have tried removing and recreating ssh keys, testing my connection to bitbucket cloud, restarting my PC, deleting the whole repository in bitbucket and recreating it, and forcing ssh to use the identity file. Nothing seems to work.
I was able to pull AND push from an ec2 instance with no issues. I suspect it might be a bug with git for windows.
I'm at my wits end and can't find any solutions from google that actually work on my machine. Anyone have any ideas to solve this?
Hey Justin!
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push
set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1
git push
Cheers!
- Ben (Bitbucket Cloud Support)
@Justin Alcorn, did you ever get this resolved? I'm having the exact same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the exact same issue.
Anything I can try?
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.