- Plesk for Linux
Plesk Migrator or Plesk Website Importing extension fails with one of the following error messages:
PLESK_ERROR: Failed to check SSH connection to the source server 'source' (203.0.113.2): Unable to connect to '203.0.113.2' by SSH: [Errno 110] Connection timed out.
Ensure that the server is up and there are no firewall rules that may block SSH connections to the server, then restart migration.
PLESK_ERROR: Failed to connect to source domain by FTP: [Errno 101] Network is unreachable
PLESK_ERROR: Failed to fetch basic information about resellers, clients and domains data from source servers Cause: Command execution failed on the local server with non-zero exit code. command: rsync -r --chmod=Fu=r,Du=rwx,go= --timeout=30 -e 'ssh -i /usr/local/psa/var/modules/panel-migrator/sessions/20200421012713/ssh-keys/id_rsa.203.0.113.2 -p 22 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no' /usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/source/legacy/extras/plesk_17_0_pmm_shared/ email@example.com:/root/plesk_migrator/plesk_migrator-k8ni9w7t5edlyzxniwenugi0/pmm_agent exit code: 30 stdout: stderr: [sender] io timeout after 30 seconds -- exiting rsync error: timeout in data send/receive (code 30) at io.c(195) [sender=3.1.2]
The target server unable to connect to port 22 (or 21 if Site Importing is used) of the source one:
# telnet 203.0.113.2 22
Connected to 203.0.113.2.
Escape character is '^]'.
Connection closed by foreign host.
Connection over ports 21/22 is blocked by a firewall on the source server.
Connect to the source server via SSH.
Make sure that the ssh service is listening on TCP port 22:
# ss -tulpn | grep ssh
tcp LISTEN 0 0 *:22 *:* users:(("sshd",617,3))
tcp LISTEN 0 0 :::22 :::* users:(("sshd",617,4))
# ss -tulpn | grep 21
tcp LISTEN 0 64 [::]:21 [::]:* users:(("xinetd",pid=798,fd=5))
Make sure that firewall settings on the target and the source servers allow connections via TCP ports 22/21.
If the issue still persists after all the necessary ports are opened on both servers, contact network administrator or hosting provider in order to find out where the connection is blocked.