- Plesk Onyx for Linux
Plesk Migration and Transfer Manager or Plesk Migrator require root access to source Linux servers in order to perform migration/transfer.
How to configure source server to accept SSH connections and allow user
root to log in before the migration?
By default, SSH server is mainly configured to allow
rootuser to log in. However, it may have been reconfigured to have root logins disabled as a security measure.
rootuser is disabled by default on AWS instances and Ubuntu.
Connect to the server via SSH.
Make sure that configuration file
PasswordAuthenticationeither set to
yesor commented out (in which case the default value
/etc/ssh/sshd_configin text editor and perform the necessary changes.
Note: before making this change, make sure that password for user
rootis sufficently complex (no less than 12 characters long, including numbers, upper/lowercase letters and special symbols). Change password if necessary.
Restart SSH server if any configuration changes have been made:
# service sshd restart
If the server has a firewall, it should be configured to allow incoming SSH connections from Plesk server.
/etc/hosts.denyfor any rules that may prevent access to SSH service from destination Plesk server.
For example, if access to
sshdservice is denied in
CONFIG_TEXT: sshd: ALL
CONFIG_TEXT: ALL: ALL
hosts.allowshould have a record which would allow SSH access from destination server:
CONFIG_TEXT: sshd: 192.0.2.2 192.0.2.3 : allow
Note: Replace IP addresses below with IP address of destination server. If destination server has several IP addresses, put all of them in one line, separated by spaces.