wuxqing
V2EX  ›  问与答

装了 GitLab,使用 ssh 方式 push 会报错

  •  
  •   wuxqing · Mar 5, 2014 · 4803 views
    This topic created in 4635 days ago, the information mentioned may be changed or developed.
    OS:CentOS 6.5
    Components:
    GitLab 6.6.4
    GitLab Shell 1.8.0
    GitLab API v3
    Ruby 2.0.0p353
    Rails 4.0.3

    http方式的push是正常的

    采用ssh方式push,会提示:
    fatal: protocol error: bad line length character: This

    会是GitLab安装的问题吗?
    本机ssh方式push 到github是正常的
    2 replies  •  1970-01-01 08:00:00 +08:00
    kukat
    kukat
    Mar 5, 2014
    1
    DO一键部署无压力。

    我司部署在AWS上的Gitlab还在6.0,SA不给升级。。。
    wuxqing
    wuxqing
    OP
    Mar 5, 2014
    2
    看到解决方案:
    “I assigned the 'gitlab-shell' to the git user.”
    不知道咋咋整

    把git的权限改了:
    /sbin/nologin -> /bin/sh

    OK了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4607 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:15 · PVG 09:15 · LAX 17:15 · JFK 20:15
    ♥ Do have faith in what you're doing.