前提:已经安装好ssh服务器并启动 修改 `/etc/ssh/sshd_config` 找到 `#PermitRootLogin` 一行 改成 `PermitRootLogin yes` 删掉`#PasswordAuthentication yes` 前面的 `#` 然后重启 ```bash sudo service ssh restart ``` 前提:已经安装好ssh服务器并启动修改 /etc/ssh/sshd_config找到 #PermitRootLogin 一行 改成 PermitRootLogin yes删掉#PasswordAuthentication yes 前面的 #然后重启sudo service ssh restart Last modification:July 22, 2024 © Allow specification reprint Like 如果觉得我的文章对你有用,请随意赞赏