Ssh Configure the SSH Connection Timeout: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * OpenSSH Operations =Overview= =Server-Side Configuration= Edit /etc/ssh/sshd_config: ClientAliveInterval 300 ClientAliveCountMax 0 =Client-Side Config...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[OpenSSH Operations]] | * [[OpenSSH Operations]] | ||
* [[Sshd_Configuration#ClientAliveInterval|sshd Configuration]] | |||
=Overview= | =Overview= | ||
Line 11: | Line 12: | ||
ClientAliveInterval 300 | ClientAliveInterval 300 | ||
ClientAliveCountMax 0 | ClientAliveCountMax 0 | ||
<font color=darkgray>This alone does not seem to be sufficient, the ssh session froze even after these changes were applied.</font> | |||
=Client-Side Configuration= | =Client-Side Configuration= |
Latest revision as of 18:43, 4 February 2019
Internal
Overview
Server-Side Configuration
Edit /etc/ssh/sshd_config:
ClientAliveInterval 300 ClientAliveCountMax 0
This alone does not seem to be sufficient, the ssh session froze even after these changes were applied.
Client-Side Configuration
Not Tested Yet!
Create ~/.ssh/ssh_config and add:
ServerAliveInterval 60
then:
chmod go-rwx ssh_config