在使用 ssh 登入 Linux 時,卻發生了 server unexpectedly closed network connection 的狀況。
查詢得到了解決方法,還沒驗證,先記錄備忘一下。
1. 修改 /etc/ssh/sshd_config
將 UseDNS yes 改成 UseDNS no
2. 重啟 ssh 服務
# /etc/init.d/sshd restart

相关文章:

  • 2021-10-15
  • 2021-06-27
  • 2021-10-26
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-07-26
  • 2021-12-03
  • 2021-12-15
相关资源
相似解决方案