title: Setup OpenSSH server on Windows 7 for keybased authentication
body: <p>Would anyone please be able to assist me with a detailed guide in how to set up a SSHD server on a Windows 7 host along with Keybased authentication.</p>
  
  <p>I am attempting to have the communication setup between an Linux Mint and the Windows 7 host.</p>
  
  <p>Using the OpenSSH 7.2p2-1-v1 : setupssh-7.2p2-1-v1.exe provided by Link: <a href="http://www.mls-software.com/opensshd.html" rel="nofollow">http://www.mls-software.com/opensshd.html</a></p>
  
  <p>I have already generated my Public and private keys for the Linux host. I followed some other guides and generated the keys for the OpenSSH server as well using the >ssh-keygen -t rsa, to the .ssh folder and copied my Linux public key to the authorized-hosts file as well.</p>
  
  <p>The interactive key (Password) based authentication works fine. But when I disable the password authentication on the sshd_config file, and try to ssh form the Linux host using key based authentication is gives the error #Connection Refused (Publickey Authentication) - Something similar to this.</p>
  
  <p>I have been struggling with this for days. My simple requirement is that I be able to SSH from my Linux machine using keybased authentication and similarly from my Windows host to the Linux host.</p>
  
  <p>Please be kind enough to assist me in anyway possible.</p>