January 2017 Archives

新年快乐

2017的春节,大家新年快乐!

一路走来,感谢的人很多,祝愿在新的一年里各位身体健康,事业有成!

今天遇到了一个奇怪的事情,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

去掉即可。

Archives

Pages

Powered by Movable Type 7.0.4

April 2019

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        
Creative Commons License
This blog is licensed under a Creative Commons License.

About this Archive

This page is an archive of entries from January 2017 listed from newest to oldest.

November 2016 is the previous archive.

June 2017 is the next archive.

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