Plesk Migration and Transfer Manager requires root access to source Linux servers in order to perform migration/transfer. This article explains how to configure source server to accept SSH connections and allow user
root to log in.
By default, SSH server is configured to allow root user to login. However, it may have been reconfigured to have root logins disabled as a security measure.
To allow user
root to login by SSH, make sure that configuration file
/etc/ssh/sshd_config has parameters
PasswordAuthentication either set to
yes or commented (in which case default value
yes will be used). Restart SSH server if any configuration changes have been made.
Important: before making this change, make sure that password for user
root is sufficently complex (no less than 12 characters long, including numbers, upper/lowercase letters and special symbols). Change password if necessary.
If server has firewall, it should be configured to allow incoming SSH connections from Plesk server.
Additionally, review files
/etc/hosts.deny for any rules that may prevent access to SSH service from destination Plesk server. For example, if access to
sshd service is denied in
hosts.allow should have record which would allow SSH access from destination server (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.):
`sshd: 192.0.2.2 192.0.2.3 : allow