Each time putty is breaking session after some time if I am doing nothing.
There is no any time parameter on putty so how can I stay my putty ssh session always Alive ?
|
|
|
Another thing to check is if your system is setting the environment variable TMOUT. To check this you can just do:
or
If it is set, you could change it or unset it. To change the value:
Where the number is the number of seconds until you get logged out. Otherwise unset it to turn off the feature:
Note, it may be that your system administrator has set this for security reasons. So if you are not the system administrator you may want to check this before changing anything yourself. |
|||
|
|
|
Try enabling keep-alives. This causes PuTTY to send SSH null packets to the remote host periodically, so that the session doesn't time out. There are other things that can cause connections to drop, but this is worth a try. If it doesn't work, you'd need to look into these other things: VPN timeouts, router timeouts, settings changes on the remote SSH server, flaky connections, etc. |
|||||||||
|
|
In addition to the other answers, I'd suggest running |
|||
|
|