ubuntu12.04 ssh服务器之后,一段时间之后 终端僵死,不能做操作,好像有一个快捷键是可以
退出当前的僵死状态的,或者有什么别的方法可以退出僵死状态呢,
有人知道么 ?
PHPz2017-04-21 10:58:55
Disconnect the ssh connection under the default configuration and press the three keys "Enter ~ ."
大家讲道理2017-04-21 10:58:55
It seems that SSH has not been operated for a period of time and the session has been automatically disconnected.
Server side:
Modify the /etc/ssh/sshd_config configuration file ClientAliveInterval 300 (default is 0). The parameter means that every 5 minutes, the server sends a message to the client to maintain the connection. Use service sshd reload to make the modification effective. If you still find that there is a problem, you can try setting 300 to a smaller value, such as 60.