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

  • Home
  • SEARCH
  • 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

Installed GitWeb and CGit to tryout web interfaces to my Git/Gitosis repositories. Runing on
In the company I work for, we have the policy that all code should
I have a problem with the PATH variable on Debian Linux when executing commands
The dilemma: a Linux program that I'm working on should: Fetch a package over
I've upgraded my app from using config.gem to a Gemfile with bundler and have
I'm trying to do a ' hg convert ', to pull from a Git
I use BitKeeper at work, and I would like to have a basic code
Hi We're a small web development company with 3 Lunarpages dedicated Plesk/Apache/MySQL/CentOS servers hosting
Update So in my Original question I was just frustrated because I was being
I need to find a method of deploying a PHP project stored in a

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.