centos 7安装之后ssh登录很慢

问题描述:
安装完centos7 之后,发现用ssh登录服务器要很久才能登录上去。
解决方法:
在ssh服务端上更改/etc/ssh/sshd_config文件中的配置为如下内容:
UseDNS no
#GSSAPI options
GSSAPIAuthentication no
重启ssh:systemctl restart sshd

猜你喜欢

转载自blog.csdn.net/MYF12/article/details/118030159