Plesk

Unable to start Plesk migration or connect via SSH Terminal extension due to invalid permissions on .ssh files: Permission denied (publickey,gssapi-with-mic,password)

Symptoms

Cause

Wrong permissions on the directories /root or /root/.ssh or files inside /root/.ssh.

Resolution

  1. Connect to the source server via SSH.

  2. Run the commands below to correct permissions:

    • on the /root directory:

      # chmod 550 /root
      # chown root:root /root

    • on the /root/.ssh directory:

      # chown -R root:root /root/.ssh
      # chmod 600 /root/.ssh

    • on the files inside /root/.ssh:

      # chmod 600 /root/.ssh/*

Exit mobile version