Linux 身份验证被拒绝,登录失败解决

解决方案:
vim /etc/ssh/sshd_config
修改参数
基本参数:
PermitRootLogin yes #允许root认证登录
PasswordAuthentication yes #允许密码认证

重启ssh服务
service ssh restart

解决方案:
vim /etc/ssh/sshd_config
修改参数
基本参数:
PermitRootLogin yes #允许root认证登录
PasswordAuthentication yes #允许密码认证

重启ssh服务
service ssh restart