GIT提交与获取时超慢的原因

vi /etc/ssh/sshd_config,在末尾加上:UseDNS no
vi /etc/ssh/ssh_config,注释掉下面两行参数:

#GSSAPIAuthentication yes
#GSSAPIDelegateCredentials no

只要重启下SSH服务就能看到效果了:/etc/init.d/ssh restart

猜你喜欢

转载自robustwang.iteye.com/blog/2391140