连接远程服务器提示报错: 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
解决方案:
(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