Updated on 2024-08-06 GMT+08:00

Application Deployment Interruption

Symptoms

When a host-related application is deployed, an error message is displayed.

Cause Analysis

The /etc/ssh/sshd_config configuration file has defined the heartbeat time (unit: s) in ClientAliveInterval for interactions between the server and client. If the host does not respond within the time limit in an Ansible application, the SSH service will be disconnected.

Solution

  1. Change the value of ClientAliveInterval in the /etc/ssh/sshd_config file to 1800.
  2. Restart the SSHD service.