Ssh Keep SSH Connection Alive through a Firewall: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * OpenSSH Operations =Overview=") |
No edit summary |
||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
{{Error|Not Tested Yet!}} | |||
The article http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/ contains instructions for putty and cygwin ssh (client and server side). Essentially | |||
sshd server wide: | |||
Edit /etc/ssh/ssh_config and add: | |||
Host * | |||
ServerAliveInterval 300 | |||
ServerAliveCountMax 2 | |||
client: | |||
Edit (create if it does not exist) ~/.ssh/config and add: | |||
ServerAliveInterval 300 | |||
ServerAliveCountMax 2 |
Latest revision as of 21:55, 2 July 2017
Internal
Overview
Not Tested Yet!
The article http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/ contains instructions for putty and cygwin ssh (client and server side). Essentially
sshd server wide:
Edit /etc/ssh/ssh_config and add:
Host * ServerAliveInterval 300 ServerAliveCountMax 2
client:
Edit (create if it does not exist) ~/.ssh/config and add:
ServerAliveInterval 300 ServerAliveCountMax 2