RHEL7连接ssh慢

[root@rhel7 ~]# cd /etc/ssh
[root@rhel7 ssh]# vim sshd_config #如下两项需要设置为no
# 关闭GSSAPI验证,可提高SSH连接速度
GSSAPIAuthentication no
# 关闭DNS反查,可提高SSH连接速度
UseDNS no

# 重启sshd服务
[root@rhel7 ssh]# systemctl restart sshd

解决办法参考:

RHEL7连接ssh慢_.net

参考地址:​​http://blog.itpub.net/24237320/viewspace-2147150/​