• 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

Issue Plesk to Plesk Migration Not Working

mdraselkhan

New Pleskian
Hello, I'm using AWS LightSail Instances for both servers. I tried to migrate from the old server to the new server. To do that I followed multiples guides. But at the end of the day, I failed to do. Suffering this issue for more than 2 months. When I try to get an error "Failed to connect to the source server 'source'by SSH: not a valid OPENSSH private key file".

The guides are that I followed:
1. Authentication by SSH (Linux)
2. How to set up SSH keys for Plesk server?
3. How to use SSH keys with Plesk
4. Resolved - Problem with migrating from Plesk ubuntu to Plesk ubuntu

I think I did something that related to the server users, which user account should I use to do?

The old server has [ubuntu & root] users.
And the new server has [centos & root] users.

Anybody here to guide me step by step?

So many thanks in advance.
 
Last edited:
@IgorG
Thanks for your reply.
I was run the ssh command [$ ssh-keygen] as a "root" user not a "centos" user on the new server (targeted). Then I copied the text from the /root/.ssh/id_rsa.pub file of the new server (targeted) to the old server's (source) /root/.ssh/authorized_keys file. Here is I removed all existing text from the old server's (source) /root/.ssh/authorized_keys file, then I paste the copied text. After that, I restart the ssh service by the command [$ service sshd reload]
 
Last edited:
Back
Top