提示no supported authentication methods available,解决无法登录 ssh

时间:2021-03-06 04:48:14

前提已安装了openssh,并且成功启动后,还无法登陆,并提示no supported authentication methods available信息时,可做以下设置:

PasswordAuthentication yes

PermitRootLogin yes
 

本文出自 “Richard Shen运维/架构” 博客,请务必保留此出处http://lxsym.blog.51cto.com/1364623/551028