centos7 无法登陆服务器 只能用key 登陆解决方案 Permission denied (publickey,gssapi-keyex,gssapi-with-mic

Permission denied (publickey,gssapi-keyex,gssapi-with-mic
image

sudo vim /etc/ssh/sshd_config

增加如下修改

PasswordAuthentication yes

sudo systemctl restart sshd

image

posted @ 2023-03-21 14:19  昆仑葫芦  阅读(0)  评论(0)    收藏  举报