close

1. 更改sshd 設定檔

        指令 sudo  vi  /etc/ssh/sshd_config

        PermitRootLogin without-password 改成 PermitRootLogin yes

        原先

        修改後

2. 設定 root 密碼

        指令 sudo passwd root

3. 重開機後生效

        指令 sudo reboot

        使用 root 帳號登入

arrow
arrow

    Hunter 發表在 痞客邦 留言(0) 人氣()