May heappen that some of your connectivity provider, will hate your idle ssh connection, and so will drop down your connection.
This is not a big issue in most cases, the solution will be redo the login and go on from where we had arrived before timout (think about an ecommerce page), but think what can heappen if you connection will go down, and you’re not using a program like “screen” to let your upgrade finish.
To avoid this problems, we can configure our ssh config file for your user, to enable the anti-idle for ssh sessions.
So we start editing the files as follow
cd nano .ssh/config
Now we can add the following parameters
ServerAliveInterval 60 ServerAliveCountMax 1440
Now we had setup our anti-idle how will avoid our provider to drop down the ssh connections.
Lascia un commento