Public key authentication is an authentication method that lets you log in securely without a password. This method uses a private and a public key to authenticate users. The public key must be stored in the project if you wish to configure key-based authentication. The private key is saved locally on your computer and can also be assigned a password for added security. You can set a public key for a user as follows:

Requirements
  • You are in the Cloud Panel, in the Managed Cloud Hosting > Projects section.

  • You have already created a project.

  • You have already created an SFTP/SSH user.

  • Select the desired project.

  • On the Website tab, click subtab SFTP & SSH.

  • Click the three vertical dots next to the SFTP/SSH user you want to configure.

  • Click Set public key.

  • Paste the public key in the box.

  • Click Save changes.

The public key is now set.