[GIT] fatal: protocol error: bad line length character: ?[H?

--

Verify that you don’t have weird stuff in ~/.ssh/config , ~/.bashrc , ~/.bash_profile or ~/.profile

I had these lines on top of ~/.ssh/config

PermitLocalCommand yes                                                                                                            
LocalCommand /usr/bin/clear

I commented those out

#PermitLocalCommand yes                                                                                                            
#LocalCommand /usr/bin/clear

And the problem was fixed.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Martin Roldan Araujo
Martin Roldan Araujo

Written by Martin Roldan Araujo

I write code 🤖 👾 🍳 🇲🇽 🏍

Responses (1)

Write a response