sshSSH Secure Shell Client root用户无法登录解决办法

最近使用这个工具,普通用户可以登录root用户不可以登录。将vi /etc/ssh/sshd_config按照下述配置解决问题

修改sshd配置文件:vi /etc/ssh/sshd_config

PermitRootLogin yes

PubkeyAuthentication no

PasswordAuthentication yes

UseLogin yes

重启sshd服务(service sshd restart),问题得以解决。

posted @ 2017-12-14 10:41  love郎朗you  阅读(626)  评论(0编辑  收藏  举报