SSH-Login ohne Passwort (unter Windows)

Login unter Windows per SSH ohne Passwort

PS C:\Windows\System32> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\olafb/.ssh/id_rsa):
C:\Users\olafb/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\olafb/.ssh/id_rsa
Your public key has been saved in C:\Users\olafb/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:Ig/ra9maFojIWu5lKl+uB+tkhQFTnHOGWcyHg/mdBkg olafb@WKS-Bennert
The key's randomart image is:
+---[RSA 3072]----+

+----[SHA256]-----+

danach in der Powershell:
type $env:USERPROFILE.ssh\id_rsa.pub | ssh 192.168.XX.XXX "cat >> .ssh/authorized_keys"