Loading... 1. 切换至root用户: ``` sudo -i ``` 2. 编辑ssh配置: ``` vim /etc/ssh/sshd_config ``` 3. 修改以下配置: ``` PermitRootLogin yes PasswordAuthentication yes ``` 4. 重启ssh服务: ``` service sshd restart ``` 完成! Last modification:November 16, 2020 © Allow specification reprint Like