解决openssh TimeOut
SSH Client:
ServerAliveInterval 100
SSH server:
ClientAliveInterval 30
TCPKeepAlive yes
ClientAliveCountMax 99999
sudo /etc/init.d/sshd restart
或 service ssh restart
/etc/profile 里面
TMOUT=1800
SSH Client:
ServerAliveInterval 100
SSH server:
ClientAliveInterval 30
TCPKeepAlive yes
ClientAliveCountMax 99999
sudo /etc/init.d/sshd restart
或 service ssh restart
/etc/profile 里面
TMOUT=1800