Ssh Configure the SSH Connection Timeout

From NovaOrdis Knowledge Base
Revision as of 21:57, 2 July 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * OpenSSH Operations =Overview= =Server-Side Configuration= Edit /etc/ssh/sshd_config: ClientAliveInterval 300 ClientAliveCountMax 0 =Client-Side Config...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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