为了账号安全,请及时绑定邮箱和手机立即绑定

Xshell时不时弹出下面画面

Connection closed by foreign host.

Disconnected from remote host(CentOS) at 14:33:56.

Type `help' to learn how to use Xshell prompt.


正在回答

1 回答

解决方案是:    


sudo vim /etc/ssh/sshd_config
添加两行:
ClientAliveInterval 60
ClientAliveCountMax 3sudo /etc/init.d/ssh restart


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Xshell时不时弹出下面画面

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信