标签:bash
1. 修改文件: /etc/ssh/sshd_config
#PermitRootLogin yes
修改为:
PermitRootLogin no
2. 重启ssh进程
/etc/init.d/sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ]
TIPS:
# bash [root@hostname ~]# ls -lart
Disable root 账号登陆
原文地址:http://blog.csdn.net/jerry_1126/article/details/38046057