UOS,深度(deepin)系统不能ssh root用户登录的解决办法

vi /etc/ssh/sshd_config
找到这一部分信息
刚进去信息应该是这样

# Authentication:

#LoginGraceTime 2m

#PermitRootLogin prohibit-password

#StrictModes yes

修改后

# Authentication:

LoginGraceTime 2m

PermitRootLogin yes

StrictModes yes

记得 # Authentication: 这一条信息不要修改

然后 wq 退出

修改成功以后,重启ssh服务:

service ssh restart

重启ssh服务之后就可以了

原文地址:https://www.cnblogs.com/nodegis/p/13156208.html