You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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)
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.