且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ssh开启root用户登录

更新时间:2022-09-14 23:06:26

修改ssh配置文件,将其中的PermitRootLogin设置为yes
配置文件路径如:/etc/ssh/sshd_config

重启ssh服务,命令如下:

/etc/init.d/sshd restart









本文转自 yntmdr 51CTO博客,原文链接:http://blog.51cto.com/yntmdr/1739256,如需转载请自行联系原作者