Linux允许root用户登录

发布于 / 系统 / 0 条评论

Ubuntu等系统默认不支持使用root用户进行登录,需要做如下修改

vim /etc/ssh/sshd_config
# 修改以下内容
PermitRootLogin  yes
PasswordAuthentication yes
systemctl restart ssh
Not Comment Found