首先查看SSH登陆的认证文件/etc/pam.d/sshd,内容为
auth required pam_listfile.so item=user sense=allow file=/etc/ssh/sshusers onerr=succeed
编辑 /etc/ssh/sshusers ,添加账户可以通过SSH登陆
转载于:https://blog.51cto.com/liyinda/1279743
首先查看SSH登陆的认证文件/etc/pam.d/sshd,内容为
auth required pam_listfile.so item=user sense=allow file=/etc/ssh/sshusers onerr=succeed
编辑 /etc/ssh/sshusers ,添加账户可以通过SSH登陆
转载于:https://blog.51cto.com/liyinda/1279743