I want to connect into a Windows Box from my Ubuntu PC via ssh using key authentication but I don't know how to do it.
I've tried to send the id_rsa.pub
to Windows and then rename it to authorized_keys
(placing this file into the C:\Users\Administrador\.ssh\
's directory), but it keeps prompting me the password. It seems like the system doesn't recognize the file properly.
I've also tried with ssh-copy-id
's command but after connecting to Windows it gives me an error.
Any solution?
PS: I am using OpenSSH for Windows installed through the Chocolatey repositories.