Open Puttygen and click on Generate to obtain both keys:
Click on Save private key to obtain the private key (.ppk)
Enter passphrase if desired. The passphrase adds an extra layer of protection to the private key.
Open the file ~/.ssh/authorized_keys on your server.
Paste the public key into this file.
Save the file and execute:
systemctl restart ssh
Now open Putty: