迷,什么都是道理;悟,什么都不是道理。

CentOS   MySQL

导航

SecureCRT 连接 阿里云服务器 The semaphore timeout period has expired.

 

故障:登录云服务器后,停止操作几分钟后,出现以下超时。

[ root@VM-0-9-centos pts/0 2021-02-02/28@2 09:18:17 ~ ] 
# 
The semaphore timeout period has expired.

 

解决方法:

[ root@VM-0-9-centos pts/1 2021-02-02/28@2 12:00:21 ~ ] 
# grep  -i 'Client' /etc/ssh/sshd_config           
#ClientAliveInterval 0
ClientAliveInterval 60     # 修改此处即可。
#ClientAliveCountMax 3


[ root@VM-0-9-centos pts/1 2021-02-02/28@2 12:00:35 ~ ]
# systemctl restart sshd.service

 

posted on 2021-02-02 12:02  L·B·C  阅读(568)  评论(0)    收藏  举报