sudo vi /etc/ssh/sshd_config

开启并调整PermitRootLogin参数值为yes
开启StrictModes yes 模式