开启 ssh 的 root 登录

开启 ssh 的 root 登录:
1、切换到 root 下, 编辑 sshd_config file vim /etc/ssh/sshd_config

#PermitRootLogin yes

2、保存后重启 SSH server:
service sshd restart

原文地址:https://www.cnblogs.com/qianggezhishen/p/7349311.html