Symptoms

LSH-NG migration script fails with the error:

# ./migrate.py --target-id 1234 --subscription-id 1234567 --config ./config.cfg --with-pba
...
migration.config.MigrationError: Failed to establish SSH connection without password from host 'source.domain.tld'(123) to director of web cluster/server 'LinuxNG'(1234)

Cause

No passwordless connection from source to destination host is configured.

Resolution

As per migration guidelines https://kb.cloudblue.com/114400, you need to ensure that SSH access without password is enabled from source to target director node (it is necessary for web sites content synchronization). Distribute SSH keys between servers to enable password-less SSH access from source to target server. Please verify that there is indeed passwordless SSH authentication set up. If it is not set up, distribute SSH keys between the servers and retry the migration.

Internal content