Git push results in fatal: protocol error: bad line length character: This

后端 未结 21 984
春和景丽
春和景丽 2020-11-28 10:56

I am trying to get GitLab working on my server (running CentOS 6.5). I followed the gitlab-receipe to the line, but I just can\'t get it working. I am able to access the web

21条回答
  •  难免孤独
    2020-11-28 11:39

    When I wanted to push my commits, I got this error:

    fatal: protocol error: bad line length character: No s
    

    I solved this just by a ssh connection check:

    ssh Git@hostIp
    

提交回复
热议问题