Preparing Linux-based source server access for Plesk migration

Created:

2016-11-16 13:14:59 UTC

Modified:

2017-04-24 11:41:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Preparing Linux-based source server access for Plesk migration

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Summary

Plesk Migration and Transfer Manager or Plesk Migrator 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.

Resolution

By default, SSH server is configured to allow root user to log in. However, it may have been reconfigured to have root logins disabled as a security measure.

To allow user root to log in via SSH, make sure that configuration file /etc/ssh/sshd_config has parameters PermitRootLogin and PasswordAuthentication either set to yes or commented out (in which case default value yes is 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 the server has firewall, it should be configured to allow incoming SSH connections from Plesk server.

Additionally, review files /etc/hosts.allow and /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.deny :

`sshd: ALL
`

or

`ALL: ALL
`

then, 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
`

Have more questions? Submit a request
Please sign in to leave a comment.