首页 > 其他分享> > ssh failed sometimes after connection established: server unexpectedly closed network connection
ssh failed sometimes after connection established: server unexpectedly closed network connection
作者:互联网
在使用 ssh 登入 Linux 時,卻發生了 server unexpectedly closed network connection 的狀況。
查詢得到了解決方法,還沒驗證,先記錄備忘一下。
1. 修改 /etc/ssh/sshd_config
將 UseDNS yes 改成 UseDNS no
2. 重啟 ssh 服務
# /etc/init.d/sshd restart
转载于:https://www.cnblogs.com/ericsun/archive/2012/10/12/2721152.html
标签:established,network,after,unexpectedly,etc,connection,ssh,closed 来源: https://blog.csdn.net/weixin_34007906/article/details/94155906