2

All git commands requiring access to the remote repository fail with the error message:

fatal: protocol error: bad line length character: Pass

They used to work a few days ago.

Ignitor
  • 2,907
  • 33
  • 50
  • 1
    Possible duplicate of [Git Remote: Error: fatal: protocol error: bad line length character: Unab](http://stackoverflow.com/questions/8170436/git-remote-error-fatal-protocol-error-bad-line-length-character-unab) – Edward Thomson Jul 08 '16 at 23:36

3 Answers3

13

The problem was that my ssh key agent (Pageant) wasn't running.

Ignitor
  • 2,907
  • 33
  • 50
2

Had a similarly issue while setting up aws codecommit, I need to add the .ppk to pageant.

Nick Cordova
  • 724
  • 6
  • 16
0

1. Add private key

2. Start Pageant.exe

Community
  • 1
  • 1
Yogi Ghorecha
  • 1,584
  • 1
  • 19
  • 26