一、ssh 连接慢的问题
首先编辑server端的sshd_config文件:
vi /etc/ssh/sshd_config
修改GSSAPIAuthentication yes 将yes改为no
GSSAPIAuthentication no
保存修改后,重启sshd服务,之后再次登录即恢复正常反应速度:
service sshd restart
对于GSSAPIAuthentication作用的解释:
Specifies whether user authentication based on GSSAPI is allowed. The default is “no”. Note that this option applies to protocol version 2 only.
意思大概为:是否允许使用基于 GSSAPI 的用户认证。默认值为”no”。仅用于SSH-2。
