ssH root登陆配置: sudo apt install openssh-server sudo passwd root sudo vim /etc/ssh/sshd_config 找到# Authentication项下的 PermitRootLogin prohibit-password改成PermitRootLogin yes 4.最后当然是选择原谅ubuntu啦,重启ssh搞定 sudo systemctl restart sshd
ssH root登陆配置: sudo apt install openssh-server sudo passwd root sudo vim /etc/ssh/sshd_config 找到# Authentication项下的 PermitRootLogin prohibit-password改成PermitRootLogin yes 4.最后当然是选择原谅ubuntu啦,重启ssh搞定 sudo systemctl restart sshd