修复登录缓慢的两种方案

一、修改ssh配置文件

vim /etc/ssh/sshd_config

增加两行记录:

UseDNS no GSSAPIAuthentication no

二、删除错误登录日志

#路径/var/log