Plesk

How to provide access to domain in Plesk via SFTP using SSH keys instead of passwords?

Question

How to provide access to a domain in Plesk via SFTP using SSH keys instead of passwords?

Answer

  1. Give limited SSH access to Plesk domain's system user.

  2. Generate SSH Keys from the computer you intend to access.

  3. Copy your public key to your clipboard or notepad.

  4. Use Plesk SSH Keys Manager extension to authorize access to the domain:

    4.1. Install the extension SSH Keys Manager.

    4.2. Go to Domains > example.com > SSH Keys > Add Key.

    4.3. Paste your Public Key (*.pub) and press Add button.

  5. SFTP into the server using an FTP client such as FileZilla, or via command line: