I am trying to add my SSH key to Github ,however I came across an issue:
I have tried running the following command in Windows Powershell to get the key:
clip < ~/.ssh/id_rsa.pub
But I get the following error:
The '<' operator is reserved for future use.
Any way to work around this?
cat ~/.ssh/id_rsa.pub | clip
should work.
More generally, if you wish to run something with the old Command Prompt syntax, you can always wrap it up in cmd /c
like this: cmd /c "clip < ~/.ssh/ida_rsa.pub"
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With