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
浙公网安备 33010602011771号