Author Topic: Cpanel to CWP migration Connection not reached  (Read 36 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cpanel to CWP migration Connection not reached
« on: April 18, 2025, 02:24:08 PM »
Hi!,

i use

source: centos7
destination: almalinux 9.5

both of two server set:
firewall disable
open port: 22 and 2304
PermitRootLogin yes

restart ssh and firewall service


There is no problem when transferring from almalinux to centos7. This is working.

when transferring from centos7 to almalinux.

i am facing "Connection not reached"

how to resolve?

error log:

Code: [Select]
2025-04-18 14:15:28 export SSHPASS=************; /usr/bin/sshpass -e /usr/bin/ssh -p22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet  root@xx.xx.xx.xx
2025-04-18 14:15:28 test -d /usr/local/cwp/ && echo 'true' || echo 'false'
2025-04-18 14:15:29 true

2025-04-18 14:15:29 /usr/bin/ssh-copy-id: ERROR: Too many arguments.  Expecting a target hostname, got:

Usage: /usr/bin/ssh-copy-id [-h|-?|-f|-n|-s] [-i [identity_file]] [-p port] [-F alternative ssh_config file] [[-o <ssh -o options>] ...] [user@]hostname
-f: force mode -- copy keys without trying to check if they are already installed
-n: dry run    -- no keys are actually copied
-s: use sftp   -- use sftp instead of executing remote-commands. Can be useful if the remote only allows sftp
-h|-?: print this help

2025-04-18 14:15:29 export SSHPASS=**********;/usr/bin/sshpass -e ssh-copy-id  root@xx.xx.xx.xx -o StrictHostKeyChecking=no 2>&1
2025-04-18 14:15:29 /usr/bin/ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@x.x.x.x test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1
2025-04-18 14:15:29 false

Offline
*****
Re: Cpanel to CWP migration Connection not reached
« Reply #1 on: April 18, 2025, 06:21:16 PM »
You will have to use AlmaLinux 8 for a CWP -> CWP Migration. AlmaLinux 9 support is still in beta and this is one of the thornier issues to work through (lack of compatible encryption to support the transfer).