1. 程式人生 > >Xshell無法使用root遠端登入Ubuntu16伺服器

Xshell無法使用root遠端登入Ubuntu16伺服器

修改/etc/ssh/sshd_config檔案,把PermitRootLogin Prohibit-password 新增#註釋掉

新新增:PermitRootLogin yes

2. 重啟ssh服務/etc/init.d/ssh restart

3.重新使用root連線,ok

https://jingyan.baidu.com/article/154b463112d8f328ca8f419b.html