在实际项目中用到git ,采用的是ssh协议方式,但是在向服务器推代码时 发现速度非常的慢的,后来找到解决的方法: 在git服务器下如下设置: vim /etc/ssh/ssh_config GSSAPIAuthentication no