I connect to my device through ssh from my machine. If I am not active for some relatively short time, it closes the session after sometime.
Connection to 10.X.Y.Z closed by remote host.
Connection to 10.X.Y.Z closed.
Is there a way to increase that session hold on timer?
At the moment, I have put the below settings in my ssh config -
ServerAliveInterval 120
ServerAliveCountMax 720
But it is not helping me.