一、需要查看服务状态:
systemctl status systemd-logind
如果长时间未重启,则重启该服务:
systemctl restart systemd-logind
二、检查sshd配置文件 /etc/ssh/sshd_config
UseDNS no
GSSAPIAuthentication no
三、尝试清除日志文件
echo
""
>
/var/log/btmp
一、需要查看服务状态:
systemctl status systemd-logind
如果长时间未重启,则重启该服务:
systemctl restart systemd-logind
二、检查sshd配置文件 /etc/ssh/sshd_config
UseDNS no
GSSAPIAuthentication no
三、尝试清除日志文件
echo
""
>
/var/log/btmp