/etc/ssh/sshd_config 关建字:AllowUsers root test01

新加用户,在AllowUsers 新增的用户名,重启sshd后,新增的用户才能登录服务器.

原文地址:https://www.cnblogs.com/bass6/p/7383731.html