• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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