SSH登陆慢

1. 修改文件

/etc/ssh/sshd_config

2. 注释以下内容

useDNS yes
   GSSAPIAuthentication yes

3. 添加以下内容

useDNS no
   GSSAPIAuthentication no

4. 运行以下命令

systemctl daemon-reload
   systemctl restart sshd

5. 从新登陆SSH

相关文章
相关标签/搜索