• 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 Failed to connect to the source server 'source'by SSH: not a valid OPENSSH private key file

manishlux

New Pleskian
I am getting the given error while transferring the plesk data via plesk migrator extension.

Failed to connect to the source server 'source' by SSH: not a valid OPENSSH private key file

I use the same documentation here to generate and copy the RSA key,
How to set up SSH keys for Plesk server?

Can you help me out why this issue appear while the key is correct?

Thanks,
Manish
 
Last edited:
You have to start over and find what's the missing step.
Maybe:
Permissions for the private key should be 0600

Instead of copying the key via SSH, do this step manually:
Alternatively, copy the content of /root/.ssh/id_rsa.pub to /root/.ssh/authorized_keys on the second server.

This is very important:
Bash:
service sshd reload
 
Back
Top