-
允许root用户远程登录
vim /etc/ssh/sshd_config PermitRootLogin yes
-
允许无密码登录
1) 将PermitEmptyPasswords yes前面的#号去掉 2) 将PermitEmptyPasswords 参数值修改为yes 3) 去除DenyUsers、DenyGroups
-
重启
service sshd restart
sshd_config更多参数
最后
以上就是含蓄柚子最近收集整理的关于[linux] sshd_config 打开PermitRootLogin的全部内容,更多相关[linux]内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复