Equivalent of ssh-copy-id
on Windows
To copy your ssh key to a linux server, similar to what the
ssh-copy-id
command in Linux does, run this:
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh USER@HOST "cat >> .ssh/authorized_keys"