Posted by: admin (Oct 5)
To avoid the early disconnect from ssh session idle time limit has been reached for one can take the following steps:
1) At the client level, modifying the file / etc / ssh / ssh_config, adding or modifying the entry ServerAliveInterval, for example:
ServerAliveInterval 15
Sets the hold time of the session to 15 minutes due to inactivity.
2) At the server level, by editing / etc / ssh / sshd_config, add or edit entries and ClientAliveInterval ClientAliveCountMax, for example:
ClientAliveInterval 15
ClientAliveCountMax 15
The positions of the configs files may vary from one Linux distribution to another, but normally the ones listed are the major routes, such as Debian, Ubuntu, Fedora, RH.
0 Comments



































