关于git clone的时候显示fatal: protocol error: bad line length character: Welc的问题

| No Comments

今天遇到了一个奇怪的事情,git 在一台机器上的克隆出现了问题,提示:

[cnangel@r101073010 tmp]$git clone git@xxxx.com:openad/otserver.git

Cloning into 'otserver'...
fatal: protocol error: bad line length character: Welc

发现ssh加入了-X会导致此现象,但其他机器即使加入了-X也没有此问题,怀疑是ssh配置的问题,然后查找/etc/ssh/ssh_config文件,发现多了一行:

ForwardX11 yes

去掉即可。

Leave a comment

Archives

Pages

Powered by Movable Type 6.2.4

January 2017

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Recent Assets

  • 2016-07-06 09-13-22 的屏幕截图.png
  • 2016-07-06 09-13-56 的屏幕截图.png
  • 2016-07-06 09-12-39 的屏幕截图.png
  • ClusterNodeAndManager.jpg
  • SampleNode.jpg
  • ClusterNode.jpg
  • SM.jpg
  • SKIPLIST.PNG
  • bitcask.jpg
  • bitcask-2.jpg
Creative Commons License
This blog is licensed under a Creative Commons License.

About this Entry

This page contains a single entry by Cnangel published on January 18, 2017 10:17 AM.

Linux应用心得(四) was the previous entry in this blog.

新年快乐 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.