ubuntu 20.04如何开启ssh root登录

101 阅读1分钟

apt install ssh /etc/ssh/sshd_config 将

image.png

改为yes 之后,终端输入passwd 输入root密码