Prevent timeout of ssh session due to inactivity.
- edit
~/.ssh/config
ServerAliveInterval 120
- edit
/etc/ssh/sshd_config
ClientAliveInteval 120
ClientAliveCountMax 1000
client will pinged for a max timeout of 120 * 1000 secs ( about 33 hr )
Prevent timeout of ssh session due to inactivity.
~/.ssh/config
ServerAliveInterval 120
/etc/ssh/sshd_config
ClientAliveInteval 120
ClientAliveCountMax 1000
client will pinged for a max timeout of 120 * 1000 secs ( about 33 hr )