That is not necessary. The comments are the options that are active by default.2) On the RPi, edit sshd_config file to uncomment out these lines making them active:
authorized_keys must be a regular file, not a directory. If you only want one key you can just copy the .pub file under the name "authorized_keys". Otherwise you have to edit the file to contain multiple public keys, one per line. (OpenSSH has a helper program ssh-copy-id, not sure about Windows.)PS C:\Users\Serf201\.ssh> ssh pi@192.168.1.15 mkdir ~/.ssh/authorized_keys
Did you really type that with the slashes the wrong way? Does Windows correct that, because Linux will not.PS C:\Users\Serf201\.ssh> scp id_rsa.pub pi@192.168.1.15:~\.ssh\authorized_keys
Statistics: Posted by jojopi — Sun Jun 16, 2024 10:30 pm