计算机 系统 Linux允许root用户登录 Ubuntu等系统默认不支持使用root用户进行登录,需要做如下修改 1 2 3 4 5 vim /etc/ssh/sshd_config # 修改以下内容 PermitRootLogin yes PasswordAuthentication yes systemctl restart ssh