Ssh Configure the SSH Connection Timeout: Difference between revisions

From NovaOrdis Knowledge Base
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...")
 
Line 2: Line 2:


* [[OpenSSH Operations]]
* [[OpenSSH Operations]]
* [[Sshd_Configuration#ClientAliveInterval|sshd Configuration]]


=Overview=
=Overview=

Revision as of 05:15, 4 February 2019

Internal

Overview

Server-Side Configuration

Edit /etc/ssh/sshd_config:

ClientAliveInterval 300
ClientAliveCountMax 0

Client-Side Configuration


Not Tested Yet!

Create ~/.ssh/ssh_config and add:

ServerAliveInterval 60 

then:

chmod go-rwx ssh_config