開啓 ssh 的 root 登錄:
1、切換到 root 下, 編輯 sshd_config file vim /etc/ssh/sshd_config
將
#PermitRootLogin yes
2、保存後重啓 SSH server:
service sshd restart
開啓 ssh 的 root 登錄:
1、切換到 root 下, 編輯 sshd_config file vim /etc/ssh/sshd_config
將
#PermitRootLogin yes
2、保存後重啓 SSH server:
service sshd restart