编辑配置文件 /etc/ssh/sshd_config
1、找到 UseDNS选项,如果没有注释,将其注释 #UseDNS yes 添加 UseDNS no
2、找到 GSSAPIAuthentication选项,如果没有注释,将其注释 #GSSAPIAuthentication yes 添加 GSSAPIAuthentication no
3、找到 Subsystem sftp /usr/libexec/openssh/sftp-server 不能为注释
systemctl restart sshd 重启 sshd 服务