Win10 OpenSSH equivalent of ssh-copy-id

Note to self:

Install the Open-ssh optional Windows feature

Create the keys using ssh-keygen

Upload the pub key to the Linux server:
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} "cat >> .ssh/authorized_keys"

More articles