修改为ROOT登录

#设置ROOT密码
sudo passwd root

#去掉注释
vi /etc/ssh/sshd_config

PermitRootLogin yes
PasswordAuthentication yes
UsePAM yes

#重启ssh 服务
/sbin/service sshd restart
©2019 Somore 豫ICP备19009951号 sqlixiaoli@163.com