深度(deepin)系统不能ssh root用户登录

vi /etc/ssh/sshd_config

将框中黄色部分前面#去掉    如果 第一行后面有东西 记得删掉 然后 wq 退出

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

service ssh restart

之后就可以使用root 用户登录了

猜你喜欢

转载自www.cnblogs.com/xiaozhang1995/p/11811255.html