The SSH session times out before the webtier installation is completed
2 years ago
Originally Published: 2020-09-19
Article Number
000042507
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Webtier
RSA Version/Condition: 8.x
Issue
- the SSH session timeout before completing the installation
Cause
 The SSH  session allowed timeout is not sufficient and we need to increase it 
Resolution
1- Make sure that you are logged in using the root user or run sudo su -
2- Navigate to  /etc/ssh/sshd_config

3-Increase the ClientAliveInterval and 
 ClientAliveCountMax values 

 you can increase the ClientAliveInterval to 1500  and 
 ClientAliveCountMax to 5

The ClientAliveInterval parameter specifies the time in seconds that the server will wait before sending a null packet to the client system to keep the connection alive.

On the other hand, the ClientAliveCountMax parameter defines the number of client alive messages which are sent without getting any messages from the client. If this limit is reached while the messages are being sent, the sshd daemon will drop the session, effectively terminating the ssh session.

The timeout value is given by the product of the above parameters i.e.

Timeout value = ClientAliveInterval * ClientAliveCountMax

4- Save the changes using :wq!