• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue Root login and root password in Plesk Migrator

DigitalSplendid

Regular Pleskian
Server operating system version
Ubuntu 18.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.48_build1800221104.10 os_Ubuntu 18.04
Facing trouble figuring out root login and root password while migrating Plesk from one AWS account to another. Is it the same username/password used to login to Plesk Admin? Help appreciated.

plesk.jpg
 
This is the system's "root" user that you'd use to sign on to the operating system as "root". The password is the password of that root user.
 
The root password of your server has been set on setup by your provider (or yourself). You cannot recover the root password. You can only change the root password after you are logged on as root or have escalated your privileges by "sudo" or "su" from your user account on the shell.
 
It is possible that the cursor does not move, but you can still enter something. Simply hit "Enter" when you are done and you'll see the prompt to repeat the password.
Thanks for the support.

Attached are the screenshots while trying to migrate. Not successful and help appreciated.
 

Attachments

  • PleskMigration.pdf
    1.1 MB · Views: 7
Thanks for the support.

I tried using SSH. After entering
ssh-keygen -t rsa -b 2048
/root/.ssh/id_rsa
I am asked to enter passphrase or keep it empty. Opted for empty by Enter button on keyboard. This is the error message:

Saving key "/root/.ssh/id_rsa" failed: Permission denied
 

Attachments

  • plesk.pdf
    148.7 KB · Views: 3
According to your screenshots you are logged in with a normal user. You must be "root" in order to overwrite or create such files. So first escalate your privileges to root, e.g. "sudo su -" or "su", depending on how the system is configured.
 
After logged in as root user, I tried the above process. Getting this error message:

Failed to check SSH connection to the source server 'source' (13.234.179.212).

Attached are the screenshots.

Thanks in advance!
 

Attachments

  • Untitled design (1).pdf
    249.6 KB · Views: 4
Ensure that the server is up and there are no firewall rules that may block SSH connections to the server, then restart migration. I'd also suggest to try to use key login through an SSH client such as PuTTY so that before you try the migration with it, you can be sure that you can really login to the source using the key.
 
Hi DigitalSplendid. Can you check your AWS's security group to make sure that SSH port 22 isn't limited to just your IP? You'll want to make sure it's either open (not safe) or include the IP address of your new server. Since you're going from one AWS instance to another, if they're in the same VPC and have a private IP address within the same subnet, you could save yourself the hassle with the security groups by using the private IP address instead for the connection.

Also, depending on your AWS instance, the username could be different so you'll want to check that out as well. Usually, by default, you will not be able to log into the root account itself via SSH (although using the console you can) which looks like is what you're doing). If I recall correctly, when I migrated out of AWS I used the normal ec2-user account just fine for the migration.

Just a few things to check.
 
Hi DigitalSplendid. Can you check your AWS's security group to make sure that SSH port 22 isn't limited to just your IP? You'll want to make sure it's either open (not safe) or include the IP address of your new server. Since you're going from one AWS instance to another, if they're in the same VPC and have a private IP address within the same subnet, you could save yourself the hassle with the security groups by using the private IP address instead for the connection.

Also, depending on your AWS instance, the username could be different so you'll want to check that out as well. Usually, by default, you will not be able to log into the root account itself via SSH (although using the console you can) which looks like is what you're doing). If I recall correctly, when I migrated out of AWS I used the normal ec2-user account just fine for the migration.

Just a few things to check.
 

Attachments

  • Untitled design (2).pdf
    136.6 KB · Views: 4
Back
Top