error: PAM: authentication error for root
PermitRootLogin yes
PasswordAuthentication yes
AllowUsers root
然后,重启sshd服务,/etc/rc.d/sshd restart
本文介绍如何解决FreeBSD系统中禁止root用户通过SSH远程登录的问题。通过修改sshd_config文件并重启服务,即可实现root用户的远程SSH登录。
error: PAM: authentication error for root
PermitRootLogin yes
PasswordAuthentication yes
AllowUsers root
然后,重启sshd服务,/etc/rc.d/sshd restart
2万+
989
2500

被折叠的 条评论
为什么被折叠?
