I want to copy an SSH public key to a remote device on Windows. I'm not using PuTTYgen rather just OpenSSH through PowerShell. I ran
ssh-keygen -t rsa
And it gave me a public and private key in my .ssh folder but if I try to do
ssh-copy-id -i ~/.ssh/id_rsa.pub <name@machine>
I get the same error:
ssh-copy-id : The term 'ssh-copy-id' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Perhaps the ssh-copy-id command was meant for Linux, but I was able to get some other commands meant for Linux to run.
How do I copy the key from my Windows laptop to my remote machine? Is it even possible to do just in Windows without an app like PuTTYgen?