Local and remote os are all debian8.
I want to keep ssh alive for long time.
The configuration file /etc/ssh/ssh_config on my client(local) side.
Host * ServerAliveInterval 60 ServerAliveCountMax 10000
The configuration file /etc/ssh/sshd_config on my server(remote) side.
/etc/ssh/sshd_config TCPKeepAlive yes ClientAliveInterval 60 ClientAliveCountMax 10000
It was tested that ssh connection can keep alive for long time.
There is a parameter in /etc/ssh/ssh_config ,ConnectTimeout ,What does it mean?
Do ConnectTimeout 0 or ConnectTimeout 1000 take different effect?