• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Resolved Command execution failed on the source server

Heath

New Pleskian
I am trying to use the Plesk Migrater Extension v2.6.11 but am having some sort of an issue with the migration.

I have made sure all the required ports are open on both servers.
8443, 110, 143, 22

On port 8443 I did not see it as open after a port scan or in the firewall extension, but it has to be since I connect to the panel on that port. That said, I went ahead and created a rule in the firewall extension. I was not sure if it just needed to be inbound only so I tried that and it failed the same. So I add an outbound rule on both firewalls for 8443 as well and it still failed.


Code:
Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: Command execution failed on the source server 'source' (XXX.XXX.XXX.XX) with non-zero exit code.
command: echo 'ssh-rsa <OMITTING WHAT I ASSUME IS A LONG ENCRYPTION KEY HERE> [email protected]' >> /root/.ssh/authorized_keys
exit code: 1
stdout:
stderr: bash: /root/.ssh/authorized_keys: Permission denied

That is a critical error, migration was stopped.
 
Hi Heath,

could you pls. check on your source server:
Code:
lsattr -a /root/.ssh

If the result is
Code:
----i-------- /root/.ssh/.
pls. change that with for example:
Code:
chattr -i /root/.ssh
... and try again the migration process.​
 
Hi Heath,

could you pls. check on your source server:
Code:
lsattr -a /root/.ssh

If the result is
Code:
----i-------- /root/.ssh/.
pls. change that with for example:
Code:
chattr -i /root/.ssh
... and try again the migration process.​

Thanks for the reply. Below are the results.
Code:
-------------e- /root/.ssh/.
-------------e- /root/.ssh/..
----ia-------e- /root/.ssh/authorized_keys
 
----ia-------e- /root/.ssh/authorized_keys

It should be

-------------e-- /root/.ssh/authorized_keys

Fix it with

# chattr -ia /root/.ssh/authorized_keys
 
Back
Top