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

去掉即可。

Monthly Archives

Pages

Powered by Movable Type 7.7.2

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.