鸿鹄论坛's Archiver
鸿鹄论坛
›
Linux技术
› Ubuntu Server 20.04开启root登录ssh的方式
goodluck
发表于 2021-5-4 11:37:58
Ubuntu Server 20.04开启root登录ssh的方式
1、sudo passwd root 设置root密码2、sudo vi /etc/ssh/sshd_config 修改PermitRootLogin without-password修改为PermitRootLogin yes3、sudo systemctl restart sshd 重启sshd服务然后就可以使用root登录了
f1662
发表于 2021-5-4 21:34:31
{:6_264:}
页:
[1]
查看完整版本:
Ubuntu Server 20.04开启root登录ssh的方式