1. 修改配置文件
vi /etc/ssh/sshd_config
将GSSAPICleanupCredentials 的yes改为no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
#GSSAPIStrictAcceptorCheck yes
#GSSAPIKeyExchange no
#GSSAPIEnablek5users no
2.重启sshd
systemctl restart sshd
vi /etc/ssh/sshd_config
将GSSAPICleanupCredentials 的yes改为no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
#GSSAPIStrictAcceptorCheck yes
#GSSAPIKeyExchange no
#GSSAPIEnablek5users no
systemctl restart sshd
评论区