ssh-copy-id for Windows OS.
https://github.com/overgodofchaos/ssh-copy-id-windows
pip (or pipx) install ssh-copy-id-windows- Download zip archive from releases.
- Unzip the archive to any directory.
- Install with
bat scriptsor manually addbindirectory toPATH.
Usage: ssh-copy-id [OPTIONS] HOST
Arguments:
HOST Host name in format name@host or hostname from ssh config.
\[required]
Options:
-i, --id-file TEXT Name or path of id key file. By default copy all keys
from ~/.ssh directory.
-p, --port INTEGER Host port
--help Show this message and exit.
ssh-copy-id [email protected]ssh-copy-id -i id_rsa.pub -p 1022 [email protected]