Skip to main content
rsm
Explorer
Sep 30, 2024 4:06 PM UTC
Solved

Issue with pubkey file during EMS Migration

Hi

 

I'm trying to migrate from EMS 7.2.5 to 7.4. I have gone through all the steps in the Admin guide and have now hit a brick wall. 

 

I am getting an error "Authentication (publickey) failed" and "encountered RSA key, expected OPENSSH key" and the migration is failing. I found this article at  https://community.fortinet.com/t5/FortiClient/Troubleshooting-Tip-Getting-an-error-when-performing-EMS/ta-p/328415 which did help with another error I had. However, the article just says to the generate the public key, which I have done and re-done several times with no effect. 

 

Has anyone had this issue? Can anyone help please?

 

Thanks

Roy

rsm
rsmAnswer
Explorer
Oct 1, 2024 3:01 PM UTC

I managed to resolve this. It turns out the permissions on the user home folder were not correct, so once I changed them, the script ran and completed the migration. 

1 reply

rsm
rsmAuthorAnswer
Explorer
Oct 1, 2024 3:01 PM UTC

I managed to resolve this. It turns out the permissions on the user home folder were not correct, so once I changed them, the script ran and completed the migration. 

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT