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:
You are in the Managed Cloud Hosting > Projects section.
You have already created a project.
You have already created an SFTP/SSH user.
Click next to an SFTP/SSH user.
Click Set public key.
Paste the public key in the box.
Click Save changes.
The public key is now set.