连接远程服务器提示报错: All avaiable GSSAPI mechanisms failed

解决方案:

(1)设置PasswordAuthentication为yes

[root@VM-4-3-centos libin]# vim /etc/ssh/sshd_config 

修改后的配置:

PasswordAuthentication yes

(2)重启sshd服务

[root@VM-4-3-centos libin]# systemctl restart sshd

posted @ 2023-06-13 17:49  LB_运维技术  阅读(319)  评论(0)    收藏  举报