服务器端sshd配置文件 /etc/ssh/sshd_config 看是否有如下的两条配置条目

GSSAPIAuthentication no
UseDNS no

如果前面带#,请把#删掉,或者新添加入这样两行。
然后重启sshd服务,或者重启服务器也可以。

注意是文件 /etc/ssh/sshd_config 而不是/etc/ssh/ssh_config

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2021-07-10
  • 2021-05-21
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
猜你喜欢
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
相关资源
相似解决方案