Cannot migrate subscription: The SSH connection to 203.0.113.2 was unexpectedly closed

Created:

2016-12-12 03:39:04 UTC

Modified:

2017-08-16 15:52:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot migrate subscription: The SSH connection to 203.0.113.2 was unexpectedly closed

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to migrate subscription due to the following error in debug.log :

    +|2016-10-31_02:40:54,284|W|ST1|core.utils.ssh_utils|example.com||The SSH connection to 203.0.113.2 was unexpectedly closed, reconnecting

Cause

SSH session gets closed due to inactivity during dumping big data.

Resolution

  1. Modify ClientAliveInterval , ClientAliveCountMax parameters in /etc/ssh/sshd_config configuration file on the source server as follows:

    ClientAliveInterval 60
    ClientAliveCountMax 30
  2. Restart sshd service to apply the changes:

    # service sshd restart
Have more questions? Submit a request
Please sign in to leave a comment.