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

PasswordAuthentication yes

PermitRootLogin yes