Unable to start migration: /root/.ssh/authorized_keys: Permission denied

Refers to:

  • Plesk 12.5 for Linux

Created:

2016-11-16 12:39:16 UTC

Modified:

2016-12-21 18:53:40 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start migration: /root/.ssh/authorized_keys: Permission denied

Symptoms

Unable to start migration. Downloaded debug log shows following error:

2016-02-05 02:32:16][ERROR] Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: The command "
authorized_keys_dir="`dirname ~/.ssh/authorized_keys`";
if [ ! -d "$authorized_keys_dir" ]; then
mkdir -p "$authorized_keys_dir";
fi;
...........
executed at the source server 'source' (xxx.xxx.xxx.xxx) returned a non-zero exit code.
Stderr:
bash: line 8: /root/.ssh/authorized_keys: Permission denied

Immutable bit is set for /root/.ssh .

# lsattr -a /root/.ssh
----i-------- /root/.ssh/.

Cause

Plesk is not able to create authorized_keys because i attribute specified for /root/.ssh .

Resolution

Remove i attribute:

chattr -i /root/.ssh
Have more questions? Submit a request
Please sign in to leave a comment.