Upon trying to migrate a container from Virtuozzo 6 to Virtuozzo Hybrid Server 7.5 Update 5 and later versions, the error appears:
29.08.2023-20.08.16: ssh exited with code 255
29.08.2023-20.08.16: ssh wait daemon exited with code 1
29.08.2023-20.08.16: vzsock_open() return 1
29.08.2023-20.08.16: Can not create connection to $DESTINATION_VHS7
Virtuozzo 6 migration is using "arcfour" as a default cipher for ssh connection opened during the migration, which is outdated and does not present by default in the configuration for in Virtuozzo Hybrid Server 7.5 Update 5 and later versions when it is a fresh installation.
Modify configuration files on Virtuozzo Hybrid Server 7.5 server to add 'arcfour' cipher for migration purposes. Once the migration is over it is recommended to remove the outdated 'arcfour' cipher.
1. Add the 'arcfour' cipher on Virtuozzo Hybrid Server 7.5:
# echo "`sshd -T | grep ciphers`,arcfour"
$ echo "`sshd -T | grep ciphers`,arcfour"
2. Reload sshd to apply changes.
# systemctl restart sshd
3. Re-try container migration.