首页 > 系统服务 > 详细

root xshell登陆Ubuntu

时间:2020-02-05 20:44:24      阅读:87      评论:0      收藏:0      [点我收藏+]

https://www.jianshu.com/p/c8ee39488d2a

xshell测试非root用户,可以正常连接,但是root用户仍旧无法访问

解决方法:
修改 /etc/ssh/sshd_config 文件把PermitRootLogin Prohibit-password 添加#注释掉

新添加:PermitRootLogin yes

重启ssh服务 /etc/init.d/ssh restart

重新使用root连接,ok!

 

root xshell登陆Ubuntu

原文:https://www.cnblogs.com/SunshineKimi/p/12264818.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!