How to configure SSH session timeout on Isolation gateway ?
search cancel

How to configure SSH session timeout on Isolation gateway ?

book

Article ID: 242108

calendar_today

Updated On: 05-19-2022

Products

Web Isolation

Issue/Introduction

How to configure SSH session timeout on Isolation gateway ?

Environment

Web Isolation On-Premise 

Resolution

1. SSH to the gateway 

2. Issue "/etc/ssh/sshd_config"

3. Uncomment both the #ClientAliveInterval and #ClientAlineCountMax and alter the value. 

The default value are as below but you may change it according to your need.

ClientAliveInterval 0

ClientAliveCountMax 3

e.g if ClientAliveInterval is 1200 and ClientAliveCountMax 3, the Timeout value will be 1200 seconds * 3 = 3600 seconds. This is an equivalent of 1 hour, which implies that your ssh session will remain alive for idle time of 1 hour without dropping.

4. Save and reload ssh.