• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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