BadLineLength

From Git SCM Wiki
Revision as of 15:12, 13 September 2009 by SverreRabbelier (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
If you see the following errors:
fatal: protocol error: bad line length character
error: failed to push to 'git.example.com:/Repo/Project.git'
fatal: The remote end hung up unexpectedly

It likely means you have some extraneous characters, info message or something upon loging into ssh in command mode.

to test this, do:
ssh user@git.example.com echo testing commands

You should only see testing commands returned. If there are any other characters, you should eamine your dot shell rc file to find any echo or other commands that may produce output.

Thanks to spearce on #git for the debugging help.


Personal tools