ssh-copy-id
ssh-copy-id copied to clipboard
Windows: Cannot open key file
Thanks for the windows version. Unfortunately when I run it I get the following error:
ERROR: key file '/c/Users/Jonny\.ssh\id_rsa.pub' could not be opened.
The id_rsa.pub file does exist at the location specified and it can be opened in notepad++.
I am running my command window with full administrator privileges.
Thanks
Sorry for the very late reply. I assumed that you are using something like a git bash to run the command. Hence, Python will get confused about your HOME directory(/c/Users/Jonny instead of C://Users/Jonny). Try using cmd to run the command or specify the key location with -i.