• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Problem with migrating from Plesk ubuntu to Plesk ubuntu

umarkhan

New Pleskian
I am using ecc2 instances for Plesk and want to migrate customers from one Plesk server to to another but the keys are not able to be authorized. By default you don't have private keys stored in an ec2 instance and public keys are stored in /root/.ssh/authorized_keys and tried the public keys but was getting format error.

Failed to connect to the source server 'source' by SSH: not a valid OPENSSH private key file
 
I'd just ssh to the target server and use ssh-keygen to generate a new keypair, then append the contents of /root/.ssh/id_rsa.pub to /root/.ssh/authorized_keys on the source server.
 
Back
Top