Difference between revisions of "ssh keepalive"

From thelinuxwiki
Jump to: navigation, search
(Created page with " == server side == enable in sshd_config TCPKeepAlive yes == client side == create config file (if it doesn't already exist) in the ssh user ~/.ssh/ directory with the f...")
 

Latest revision as of 03:55, 1 June 2013


server side

enable in sshd_config

TCPKeepAlive yes


client side

create config file (if it doesn't already exist) in the ssh user ~/.ssh/ directory with the following lines

Host *
   ServerAliveInterval 180 
   ServerAliveCountMax 2