日期:2014-05-16  浏览次数:20702 次

Linux禁用远程root登录
编辑sshd服务的配置文件
vi /etc/ssh/sshd_config
找到下面这行:把值改为yes(允许)no(不允许)
PermitRootLogin yes
service sshd restart