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:

Prerequisites:

You are in the Managed Cloud Hosting > Projects section.

You have already created a project.

You have already created an SFTP/SSH user.

Step 1

Click  next to an SFTP/SSH user.

Step 2

Click Set public key.

Step 3

Paste the public key in the box.

Step 4

Click Save changes.

The public key is now set.