Debian12 如何使用root用户登陆系统
nano /etc/ssh/sshd_config找到#PermitRootLogin一行 改成PermitRootLogin yes,也就是删掉前端的注释并做改后面的值为yes
删掉#PasswordAuthentication yes前面的#
sudo service ssh restart nano /etc/ssh/sshd_config找到#PermitRootLogin一行 改成PermitRootLogin yes,也就是删掉前端的注释并做改后面的值为yes
删掉#PasswordAuthentication yes前面的#
sudo service ssh restart