Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:ssh [08/09/2018 01:32]
andrew [Enable TCP keep alives]
rb:ssh [08/09/2018 01:33] (current)
andrew [Timeout]
Line 41: Line 41:
   ssh -D 1080 -p 443 user@my.server.com   ssh -D 1080 -p 443 user@my.server.com
   ​   ​
-===== Timeout ​=====+===== Enable TCP keep alives ​=====
  
-To avoid ssh sessions timing out, configure a client poll intervalm ​edit ''/​etc/​ssh/​sshd_config''​ :-+To avoid ssh sessions timing out or to prevent inactivity causing a firewall to terminate a session, configure a client poll interval ​edit ''/​etc/​ssh/​sshd_config''​ :-
  
   TCPKeepAlive yes   TCPKeepAlive yes
   KeepAlive yes   KeepAlive yes
   ClientAliveInterval 60   ClientAliveInterval 60
 +
  
 ===== Enable password login ===== ===== Enable password login =====

rb/ssh.txt ยท Last modified: 08/09/2018 01:33 by andrew