I have never setup up public key authentication on Linux, so this could be why I have a hard time figuring out how to make it work on SSH in windows.
I have installed Win32-OpenSSH and can SSH into windows using username and password. The part I am unclear on is how to allow root user from a Linux machine to SSH into windows without the need for a password (public key authentication).
I followed this guide:
https://winscp.net/eng/docs/guide_public_key . Which was linked to from the guide for installing Win32-OpenSSH:
https://winscp.net/eng/docs/guide_windows_openssh_server
The only thing I've managed to accomplish is for the Linux box to request the passphrase for /root/.ssh/id_dsa and give warnings about the Windows dsa host key every time I SSH into the windows machine. I am also prompted for the windows user password, before logging in.
Thanks for the assistance.
I did the following steps:
I still get prompted for a password for the administrator account. I will try setting this up in linux to make sure I understand the process and on a system where I know it does work.