主机测评网's Archiver
论坛
›
其他教程
› SSH登录服务器报错 no supported authentication methods
哈哈SE7
发表于 2024-9-11 18:33:03
SSH登录服务器报错 no supported authentication methods
调试服务器安装cloud-init卸载后发现SSH 无法登录
解决方案
终端下 登录打开 /etc/ssh/sshd_config
修改 修改PasswordAuthentication no 为:PasswordAuthentication yes
然后执行重启sshd服务
service sshd restart
/etc/init.d/sshd restart
成功。
页:
[1]
查看完整版本:
SSH登录服务器报错 no supported authentication methods