Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6210935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:14:58+00:00 2026-05-24T06:14:58+00:00

I have git installed and working as expected on my local system or a

  • 0

I have git installed and working as expected on my local system or a network share, but have not been able to get it to access the remote bare repository on my server using ssh.

I have installed msysgit and CopSSH on the server and msysgit, putty and tortoisegit on my local system. I am able to open a putty session or use plink successfully — at least I believe plink is successful, but more on that in a bit.

When I attempt to clone a remote repository I get this:

D:\Temp> git clone uname@server:e:/path/test.git Test
Cloning into Test...
fatal: protocol error: bad line length character: Micr

The error message has been consistent for a while, but at times (from one reinstall attempt to another) the last four characters will be ‘Micr’, ‘Allo’ or something else I don’t remember right now. In the currently installed state it is ‘Micr’.

So the big question is what am I not doing right?

Although I imagine it would be much easier to correct what was wrong if I could get the actual error message instead of the generic one followed by the first four characters of the actual error message. Any idea if that is possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:14:59+00:00Added an answer on May 24, 2026 at 6:14 am

    First, you have variables like export GIT_TRACE=1 and export GIT_TRACE_PACKET=1 which can help debugging this kind of situation.

    Second, this error is often caused by any kind of display done during the ssh session (see for instance this thread), like a .bashrc on the server side with an echo in it.

    I have a wrapper set-up around ssh that sets the window title of the shell to the ssh command argument. That is what messes things up!

    See also Git FAQ

    Other causes include:

    • using the right ssh
    • correctly forcing to use git-shell
    • using --exec-path from the server_arg on the server side

    Note: with Git 2.6+ (Q3 2015), see also “GIT_TRACE_PACKFILE“.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed the portable git version on my flash drive, but I don't
I have installed gitosis, but i have strange thing when i'm working with repos.
I have TortoiseHg with the hg-git extension installed. I know it is working as
For example when working from computers which have different git software versions installed.
I still have XP on my laptop and have installed Git so that I
On my Mac OS X 10.5 (Leopard) machine, I have installed Git 1.6.0.2 using
I have GIT running on a Solaris server. From a windows machine I installed
I have setup a git repository in a linux server, and installed the latest
I have tryed to run this code in my console: script/plugin install git://github.com/apotonick/cells.git ...but
I am not using github. We have git setup on our machine. I created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.