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),问题得以解决。

原文地址:https://www.cnblogs.com/lovelanglangyou/p/8036486.html