I want to configure my raspberry to allow authentication only with public key crypto to make it more secure and make ssh-ing easier. However, my network folder on the Windows 10 machine I want to ssh from is no longer connecting to it because Win 10 seems to be unable to attach a network folder with RSA. At least I have not found an option to add a folder via RSA, only userame password authentification.
I want to be to use username/password authentication for the network folder from my main machine wich is in the same local network, but only allow RSA from any other machine.
So far I've modified my sshd_config so the only non-#-ed the lines are
PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no
Match Address 192.168.2.0/24
PasswordAuthentication yes
Match All
Subsystem sftp /usr/lib/openssh/sftp-server
and the standard config.