sshd_config file has public key authentication enabled. So, once you disable password authentication by setting
no, the SSH server will automatically use public key authentication.
If you didn't change it when generating the key pair using
ssh-keygen, both the private and public key can be found in your home folder in
You will need to convert the private key (the one without the
.pub extension) into a
.ppk file (you can't simply rename it). Follow the instructions posted on https://www.dmit.io/index.php?rp=/knowledgebase/10/How-to-convert-RSA-Private-Key-to-Putty-Private-Key-ppk.html to do so. (The page says "for use with WinSCP", but WinSCP and PuTTY share the same
.ppk key format)
On the (Windows) client, you also need the PuTTY SSH agent to be running, and load the
key.ppk file into the SSH agent. The SSH agent should be already installed along with PuTTY (you can find a shortcut to it in the Start menu), but in case you can't find it, open Windows Explorer and navigate to the folder where PuTTY is installed. The SSH agent executable is called
pageant.exe, and once executed, you can access it from the system tray (the lower right corner of your desktop, near the clock).