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

解决方案:

vim /etc/ssh/sshd_config

修改参数

基本参数:

PermitRootLogin yes         #允许root认证登录
PasswordAuthentication yes  #允许密码认证

重启ssh服务

service ssh restart

posted @ 2023-08-13 17:08  杜森强  阅读(806)  评论(0编辑  收藏  举报