Make Dir If Needed:
mkdir .ssh
cd Into To The Dir:
cd /.ssh
Copy And Paste The Public Key Into The Following File And Save:
nano ~/.ssh/authorized_keys
Now Let's Update The Config File And Save:
sudo nano /etc/ssh/sshd_config
Edit PasswordAuthentication Line By Removing "#" And Change Yes To No:
PasswordAuthentication no
Now Do A Reboot:
sudo reboot
PuttyGen Download Link: Click Here