ssh登录centos提示错误
作者:过客  发表日期:2015-12-31 15:43:33  点击:364

今天用putty登录centos,输入用户名回车,

提示no supported authentication methods available。

并无法登录。

查找配置文件/etc/ssh/sshd_config中的

PasswordAuthentication yes

PermitRootLogin yes

去掉注释#,重启sshd服务。可以登录了。
发表评论: