Friday, July 15, 2022

preventing ssh time-outs

In addition to my earlier ssh keep alive post, some more way to keep ssh from timing out - on the client side, 
and
on the server side, 

On the client side on Linux etc, editing or creating the file $HOME/.ssh/config , giving it appropriate permissions, 

chmod 600 $HOME/.ssh/config

and adding the lines below - 

Host *
    ServerAliveInterval 240

On Putty, Connection -> seconds between keepalives - set it to 100 or something like that if timing out. 

No comments:

Post a Comment