Skip to content

先修改root密码

shell
sudo passwd root

修改ssh配置

shell
sudo vim /etc/ssh/sshd_config

更改PermitRootLoginyes

重启ssh服务

shell
sudo service ssh restart

To Be Continued!😎