Last active
December 3, 2021 07:46
-
-
Save Lehmaning/f4adcac8a5458242bff6636471f32d15 to your computer and use it in GitHub Desktop.
Command 'ssh-copy-id' in Windows (cmder)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM ... | |
ssh-copy-id=type %USERPROFILE%\.ssh\id_rsa.pub | ssh $* "cat >> .ssh/authorized_keys" | |
:: References: | |
:: ssh-copy-id in Windows - https://www.chrisjhart.com/Windows-10-ssh-copy-id/ | |
:: Parameter with Cmder aliases- https://github.com/cmderdev/cmder/issues/376 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment